This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 17

Return whether the given function object equals the specified native function.


JS_IsNativeFunction(JSObject *funobj, JSNative call);
Name Type Description
funobj JSObject * The function object to examine.
call JSNative The native function to compare.


JS_IsNativeFunction determines if a specified function object, funobj equals a specified native function, call. If so, JS_IsNativeFunction returns true. Otherwise it returns false.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,