```{index} single: is_bool (JSON::PP) ``` ```{index} single: JSON::PP::is_bool ``` # is_bool Whether a value is a JSON boolean. ## Synopsis ```perl JSON::PP::is_bool(JSON::PP::true); # true JSON::PP::is_bool(!!1); # true: a core boolean JSON::PP::is_bool(1); # false ``` ## What you get back True for an object of JSON::PP::Boolean, Types::Serialiser::BooleanBase or JSON::XS::Boolean, and for a core boolean.