Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_IsNativeFunction

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.

Syntax

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

Description

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,