is_bool

 bool is_bool ( mixed $var ) 

説明

Finds whether the given variable is a boolean.

戻り値

Returns TRUE if var is a boolean, FALSE otherwise.