rest_is_boolean


rest_is_boolean ( $maybe_bool )

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

Description

Determines if a given value is boolean-like.

Related Functions

rest_sanitize_boolean, wp_validate_boolean, path_is_absolute, restore_previous_locale, rest_is_ip_address

Top Google Results

User discussions

wpseek mobile