Comparing version 0.4.0 to 0.4.1
@@ -1,1 +0,1 @@ | ||
module.exports = (value, length) => value.length === length | ||
module.exports = (value, length) => !!value && value.length === length |
@@ -1,1 +0,1 @@ | ||
module.exports = value => !isNaN(new Date(value)) | ||
module.exports = value => !!value && !isNaN(new Date(value)) |
@@ -1,1 +0,1 @@ | ||
module.exports = value => typeof value === 'object' | ||
module.exports = value => !!value && typeof value === 'object' |
{ | ||
"name": "check-if", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Input validation for Apollo Server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8506