Json.is_bol
constexpr bool is_bol() const noexcept;
Checks if the internal data is of type Bol
.
Returns:
true
if the data is boolean, false
otherwise
Exception guarantee:
No-throw
Complexity:
Constant time O(1)
Version
Since v3.0.0 .
constexpr bool is_bol() const noexcept;
Checks if the internal data is of type Bol
.
Returns:
true
if the data is boolean, false
otherwise
Exception guarantee:
No-throw
Complexity:
Constant time O(1)
Since v3.0.0 .