model-state-validation
Advanced tools
Comparing version 1.0.4 to 1.0.5
export function isValidator(validator) { | ||
return typeof validator.validate === "function"; | ||
return validator && typeof validator.validate === "function"; | ||
} | ||
export function isValidatorAsync(validator) { | ||
return typeof validator.validateAsync === "function"; | ||
return validator && typeof validator.validateAsync === "function"; | ||
} | ||
//# sourceMappingURL=typeGuards.js.map |
{ | ||
"name": "model-state-validation", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
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
10621