Function

JSObjectIsFunction

Tests whether an object can be called as a function.

Declaration

bool JSObjectIsFunction(JSContextRef ctx, JSObjectRef object);

Parameters

ctx

The execution context to use.

object

The JSObject to test.

Return Value

true if the object can be called as a function, otherwise false.