Function

JSObjectIsConstructor(_:_:)

Tests whether an object can be called as a constructor.

Declaration

func JSObjectIsConstructor(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> Bool

Parameters

ctx

The execution context to use.

object

The JSObject to test.

Return Value

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