is_bool

(PHP4 >= 4.0b4)

is_bool --  Finds out whether a variable is a boolean

Description

int is_bool (mixed var)

Returns true if the var parameter is a boolean.

See also is_array(), is_double(), is_float(), is_int(), is_integer(), is_real(), is_string(), is_long(), and is_object().


Hosted by Tonec Inc.