Function JSObjectIsConstructor

Source
pub unsafe extern "C" fn JSObjectIsConstructor(
    ctx: JSContextRef,
    object: JSObjectRef,
) -> bool
Expand description

Tests whether an object can be called as a constructor.

  • ctx: The execution context to use.
  • object: The JSObjectRef to test.

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