PHP is_bool() functionBy using this function, we can check whether the variable is boolean variable or not. SyntaxParameters
ReturnsIt return True if var is boolean, False otherwise. Example 1Output: Example 2Output:
Next Topicis_int() Function
|