Skip to main content

Module validate

Module validate 

Source

Functions§

is_between
Check if a value is between low and high (inclusive).
is_email
Check if a string is a valid email address.
is_phone
Check if a string looks like a phone number.
is_url
Check if a string is a valid HTTP/HTTPS URL.
levenshtein
Compute the Levenshtein edit distance between two strings.
soundex
Compute the American Soundex code for a string.