MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

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,