This article covers features introduced in SpiderMonkey 17
Return whether the given function is the global eval
function.
Syntax
bool JS_IsBuiltinEvalFunction(JSFunction *fun);
Name | Type | Description |
---|---|---|
obj |
JSFunction * |
Pointer to the function to test. |
Description
JS_IsBuiltinEvalFunction
returns whether the given function is the global eval
function.