Function ntcore_sys::NT_GetValueBoolean [] [src]

pub unsafe extern "C" fn NT_GetValueBoolean(
    value: *const NT_Value,
    last_change: *mut u64,
    v_boolean: *mut NT_Bool
) -> NT_Bool

Returns the boolean from the NT_Value. If the NT_Value is null, or is assigned to a different type, returns 0.

@param value NT_Value struct to get the boolean from @param last_change returns time in ms since the last change in the value @param v_boolean returns the boolean assigned to the name @return 1 if successful, or 0 if value is null or not a boolean