Skip to main content

is_empty_value

Function is_empty_value 

Source
pub fn is_empty_value(v: &Value) -> bool
Expand description

Whether a value is empty enough that there is nothing to judge.

A case’s state is arbitrary JSON and is held to the same bar as a session’s, so the rule lives here rather than inside Session::state_is_empty.