yyjson_mut_arr_add_bool

Function yyjson_mut_arr_add_bool 

Source
pub unsafe extern "C" fn yyjson_mut_arr_add_bool(
    doc: *mut yyjson_mut_doc,
    arr: *mut yyjson_mut_val,
    val: bool,
) -> bool
Expand description

Adds a bool value at the end of the array. @param doc The doc is only used for memory allocation. @param arr The array to which the value is to be inserted. Returns false if it is NULL or not an array. @param val The bool value to be added. @return Whether successful.