PHP » PYTHON |
login |
register |
about
|
if isinstance(my_var, bool): print 'my_var is bool' is_bool(PHP 4, PHP 5) is_bool — Finds out whether a variable is a boolean Parameters
Return ValuesReturns TRUE if var is a boolean, FALSE otherwise. Examples
Example #1 is_bool() examples
<?php
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|