jSObjectIsConstructor top-level property

int Function(Pointer<NativeType> ctx, Pointer<NativeType> object) jSObjectIsConstructor

Tests whether an object can be called as a constructor. ctx (JSContextRef) The execution context to use. object (JSObjectRef) The JSObject to test. @result (bool) true if the object can be called as a constructor, otherwise false.


final int Function(Pointer ctx, Pointer object) jSObjectIsConstructor = jscLib
    .lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>(