Function mozjs::jsapi::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.