(PHP 4, PHP 5, PHP 7)
is_bool — Finds out whether a variable is a boolean
bool is_bool ( mixed $var )
Finds whether the given variable is a boolean.
var
The variable being evaluated.
Returns TRUE if var
TRUE
联系方式: