Contents

JSValueRef

A JavaScript value.

Declaration

typealias JSValueRef = OpaquePointer

Discussion

This is the base type for all JavaScript values, and polymorphic functions on them.

Topics

Testing the Value’s Type

Creating Values

Converting to Primitive Values

Converting to and from JSON-Formatted Strings

Comparing Values

Supporting Garbage Collection

See Also

JavaScript Data Types