An helper function that executes a Validator with a default ValidationContext.
const isStringValidator = valueValidator(isString, "must be a string");const validationResult = validate(isStringValidator)("");console.log(validationResult); // []
the ValidationResult
the type of the value to validate
the Validator to execute
Generated using TypeDoc
An helper function that executes a Validator with a default ValidationContext.
Exmaple
Returns
the ValidationResult