is_false

Function is_false 

Source
pub fn is_false() -> JsonPredicateMatcher<impl Fn(&Value) -> bool, &'static str, &'static str>
Expand description

Matches the JSON boolean false value.

ยงExamples

assert_that!(j!(false), json::is_false());
assert_that!(j!(true), not(json::is_false()));