Skip to main content

pamoja_keyexpr_is_valid

Function pamoja_keyexpr_is_valid 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_keyexpr_is_valid( key: *const c_char, ) -> bool
Expand description

Reports whether a key expression is well formed.

§Arguments

  • key - the expression to check, as null-terminated UTF-8.

§Returns

true when the expression is valid, or false if it is malformed or key is null.

§Safety

key must be a valid null-terminated UTF-8 string for the duration of the call, or null.