JSObjectIsConstructor(_:_:)
Tests whether you can call an object as a constructor.
Declaration
func JSObjectIsConstructor(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> BoolParameters
- ctx:
The execution context to use.
- object:
The Jsobjectref to test.
Return Value
true if you can call the object as a constructor; otherwise, false.
See Also
Working with Objects
JSObjectCallAsConstructor(_:_:_:_:_:)JSObjectCallAsFunction(_:_:_:_:_:_:)JSObjectCopyPropertyNames(_:_:)JSObjectDeleteProperty(_:_:_:_:)JSObjectGetPrivate(_:)JSObjectGetProperty(_:_:_:_:)JSObjectGetPropertyAtIndex(_:_:_:_:)JSObjectGetPrototype(_:_:)JSObjectHasProperty(_:_:_:)JSObjectIsFunction(_:_:)JSObjectMake(_:_:_:)JSObjectMakeArray(_:_:_:_:)JSObjectMakeConstructor(_:_:_:)JSObjectMakeDate(_:_:_:_:)JSObjectMakeError(_:_:_:_:)