Function mozjs_sys::jsapi::JS_GetMaybePartialFunctionId

source ·
pub unsafe extern "C" fn JS_GetMaybePartialFunctionId(
    fun: *mut JSFunction,
) -> *mut JSString
Expand description

Almost same as JS_GetFunctionId.

If the function has lazy name, this returns partial name, such as the function name without “get “ or “set “ prefix.