Helper functions to easily validate values in API functions.
Checks if specified value is a number.
Validates that a variable is a string with atleast one or more characters (as specified).
Checks if value1 and value2 are equal.
Checks that two values are not equal.
Checks if specified value is null.
Checks if specified value is not null.
Checks for first name and last name in string.
Validates if string is an email.
Throws a validation error if condition is false. Handy to use for validating arguments in an API function.
Checks if value is a date type.
Checks if value is a datetime type.