Skip to main content

unwrap_type_value

Function unwrap_type_value 

Source
pub fn unwrap_type_value(value: &Value) -> Option<&Value>
Expand description

Unwrap a Value::Record that carries the $lash_type marker back into the inner JSON-Schema value. Returns None when the value is not a wrapped Type literal.