Calls an object as a function.
- iOS 7.0+
- macOS 10.5+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The execution context to use.
The JSObject to call as a function.
The object to use as "this," or NULL to use the global object as "this."
An integer count of the number of arguments in arguments.
A JSValue array of arguments to pass to the function. Pass NULL if argumentCount is 0.
A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
The JSValue that results from calling object as a function, or NULL if an exception is thrown or object is not a function.