JSValueIsObjectOfClass(_:_:_:)
Tests whether a JavaScript value is an object with a specified class in its class chain.
Declaration
func JSValueIsObjectOfClass(_ ctx: JSContextRef!, _ value: JSValueRef!, _ jsClass: JSClassRef!) -> BoolParameters
- ctx:
The execution context to use.
- value:
The Jsvalueref to test.
- jsClass:
The Jsclassref to test against.
Return Value
true if value is an object and has jsClass in its class chain; otherwise, false.