is_bool

(PHP 4 )

is_bool --  Verifica se una variabile è di tipo boolean

Descrizione

bool is_bool ( mixed var)

Restituisce TRUE se var è di tipo boolean.

Vedere anche is_array(), is_float(), is_int(), is_integer(), is_string(), and is_object().