jSObjectIsFunction top-level property
Tests whether an object can be called as a function.
ctx
(JSContextRef) The execution context to use.
object
(JSObjectRef) The JSObject to test.
@result
(bool) true if the object can be called as a function, otherwise false.
Implementation
final int Function(Pointer ctx, Pointer object) jSObjectIsFunction = JscFfi.lib
.lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>(
'JSObjectIsFunction')
.asFunction();