MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

JS_IsBuiltinFunctionConstructor

This article covers features introduced in SpiderMonkey 17

Return whether the given function is the global Function constructor.

Syntax

bool
JS_IsBuiltinFunctionConstructor(JSFunction *fun);
Name Type Description
obj JSFunction * Pointer to the function to test.

Description

JS::IsCallable returns whether the given function is the global Function constructor.

See Also

Document Tags and Contributors

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