as_bool

Function as_bool 

Source
pub fn as_bool<'bytes, B: BytesLike<'bytes>, S: Stack>(
    bytes: &B,
) -> Result<bool, JsonError<'bytes, B, S>>
Expand description

Interpret the immediate value within the bytes as a bool.