Skip to main content

is_function

Function is_function 

Source
pub fn is_function(value: &Value) -> bool
Expand description

Whether value looks like a legacy function object — i.e. a JSON object carrying stops (interval/exponential/categorical) or property (an identity function). Other objects are not functions and remain parse errors.