Skip to main content

Boolean functions

is_email

Alias: isEmail

Check if the given string is valid email address

is_email(string)

is_empty

Check if the given variable is empty

is_empty(string)

is_url

Check if the given variable/string is a valid URL

is_url(string)

is_numeric

Check if the given variable/string is of numeric value

is_numeric(value)

is_json

Check if the given variable/string is a valid JSON

is_json(value)

is_int

Check if the given variable is an integer

is_int(value)

is_float

Check if the given variable is a float

is_float(value)