Function mozjs_sys::jsapi::JS::GetRegExpSource

source ยท
pub unsafe extern "C" fn GetRegExpSource(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
) -> *mut JSString
Expand description

Return the source text for a RegExp object (or a wrapper around one), or null on failure.