rest_is_boolean


rest_is_boolean ( $maybe_bool )

Parameters:
  • (bool|string) maybe_bool The value being evaluated.
Returns:
  • (bool) True if a boolean, otherwise false.
Defined at:

Description

Determines if a given value is boolean-like.

Related Functions

rest_sanitize_boolean, rest_is_object, rest_is_array, rest_is_integer, wp_validate_boolean

Top Google Results

User discussions

wpseek mobile