haystack_value_is_dict

Function haystack_value_is_dict 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn haystack_value_is_dict( val: *const Value, ) -> bool
Expand description

True if a Dict Value

§Returns

True, or False in which case if argument type mismatch an error is created that can be read using last_error_message

§Example

let val = haystack_value_make_dict();
assert!(!haystack_value_is_null(val));
assert!(haystack_value_is_dict(val));

§Safety

Panics on invalid input data