Function mozjs::jsapi::JS::ToGetterId

source ·
pub unsafe extern "C" fn ToGetterId(
    cx: *mut JSContext,
    id: Handle<PropertyKey>,
    getterId: MutableHandle<PropertyKey>
) -> bool
Expand description

Generate getter/setter id for given id, by adding “get “ or “set “ prefix.