is...

There are many functions in ThingsDB to check if a value is compatible with some specification. All the these build-in check functions return with either true or false and none of the is functions generate a change.

Is functions

Function Description
is_array Determines whether the provided value is of type list or tuple.
is_ascii Determines whether the provided value is of type str and contains only valid ascii characters.
is_bool Determines whether the provided value is a bool or not.
is_bytes Determines whether the provided value is of type bytes or not.
is_closure Determines whether the provided value is a closure or not.
is_datetime Determines whether the provided value is of type datetime or not.
is_email Determines whether the provided value is of type str and contains an email address.
is_enum Determines whether the provided value is an enumeration type member or not.
is_err Determines whether the provided value is a error or not.
is_float Determines whether the provided value is a floating point value or not.
is_future Determines whether the provided value is a future value or not.
is_module Determines whether the provided value is a module value or not.
is_inf Determines whether the provided value is a positive or negative infinity.
is_int Determines whether the provided value is an integer or not.
is_list Determines whether the provided value is a list or not.
is_mpdata Determines whether the provided value is of type mpdata or not.
is_nan Determines whether the provided value is not a number.
is_nil Determines whether the provided value is nil.
is_raw Determines whether the provided value is of type str or bytes.
is_regex Determines whether the provided value is of type regex or not.
is_room Determines whether the provided value is a room or not.
is_set Determines whether the provided value is a set or not.
is_str Determines whether the provided value is of type str.
is_task Determines whether the provided value is a task or not.
is_tel Determines whether the provided value is of type str and contains a telephone number.
is_thing Determines whether the provided value is a thing or not.
is_time_zone Determines whether the provided value is of type str and contains a valid time zone.
is_timeval Determines whether the provided value is of type timeval.
is_tuple Determines whether the provided value is a tuple or not.
is_url Determines whether the provided value is of type str and contains a URL.
is_utf8 Determines whether the provided value is of type str and contains valid UTF-8 characters.