JSObjectIsFunction top-level property

bool Function(JSContextRef ctx, JSObjectRef object) JSObjectIsFunction
final

Tests whether an object can be called as a function. ctx The execution context to use. object The JSObject to test. @result true if the object can be called as a function, otherwise false.

Implementation

final bool Function(JSContextRef ctx, JSObjectRef object) JSObjectIsFunction = jscLib.lookup<NativeFunction<Bool Function(JSContextRef ctx, JSObjectRef object)>>('JSObjectIsFunction').asFunction();