@validatem/is-country-code-2
Validatem validator for ensuring that a value is an ISO-3166-1 alpha-2 (2 character) country code
Validatem validator for ensuring that a value is an ISO-3166-1 alpha-2 (2 character) country code
Validatem validator for ensuring that a value is an ISO-3166-1 alpha-3 (3 character) country code
Validatem validator for ensuring that a value is an MSISDN according to the E.164 numbering plan
Validatem validator for ensuring that a value is a RegExp object
Validatem validator for ensuring that a value is a string
Validatem validator for ensuring that a value is a URL, optionally requiring a certain protocol(s)
Validatem validator for ensuring that a value is specifically a particular value; useful for eg. asserting expected values
Validatem validator for ensuring that a string matches a specified regular expression
Validatem combinator that validates a nested/recursive structure, and ensures that each non-array/object value matches certain rules
Validatem validator for ensuring that a value is one of a list of allowed values (like an enum)
Validatem combinator for writing 'any one of these must be specified' rules
Validatem combinator for prepending a certain path to validation errors
Validatem validator for wrapping non-object values as a single-property object, useful for functions that accept either a single value or an options object
Validatem validator for ensuring that a value is a URL, optionally requiring a certain protocol(s)
Validatem combinator for marking a hasShape or object literal rule as allowing additional, unspecified properties
Validatem combinator for specifying 'alternatives', and verifying that a value meets at least one of the rules
Validatem "validator" for wrapping non-array values into an array
Validatem validator for ensuring that a value has a particular exact length
Validatem combinator for validating that a value has certain keys that pass certain validators (eg. object validation)
Validatem validator for ensuring that a value is an arguments object