Function mozjs::jsapi::JS_IsIdentifier1

source ยท
pub unsafe extern "C" fn JS_IsIdentifier1(
    chars: *const u16,
    length: usize,
) -> bool
Expand description

Test whether the given chars + length are a valid ECMAScript identifier. This version is infallible, so just returns whether the chars are an identifier.