JSObjectIsConstructor top-level property

bool Function(JSContextRef ctx, JSObjectRef object) JSObjectIsConstructor
final

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

Implementation

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