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.