Skip to main content

mut_object_field_logic_local

Function mut_object_field_logic_local 

Source
pub fn mut_object_field_logic_local(
    object: &mut Map<String, Value>,
    field_name: &str,
    value: Value,
) -> bool
Expand description

Inserts one validated field value into a mutable JSON object.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::dynamic::mut_object_field_logic_local holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::mut_object_field_logic_local(todo!(), todo!(), "value");