pub fn json_value_truthy(value: &Value) -> boolExpand description
Applies the native truthiness contract to a JSON value.
§Parameters
value: Input consumed bycrate::runtime::json_commands::json_value_truthy.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::json_value_truthy holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::json_value_truthy("value");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.