JSValueGetType(_:_:)
Returns a JavaScript value’s type.
Declaration
func JSValueGetType(_ ctx: JSContextRef!, _ value: JSValueRef!) -> JSTypeParameters
- ctx:
The execution context to use.
- value:
The Jsvalueref with the type you want to obtain.
Return Value
A JSType value that identifies the value’s type.