JavaScriptCore Functions

No overview available.

Topics

Functions

JSContextGetGlobalContext

Gets the global context of a JavaScript execution context.

JSGlobalContextCopyName

Gets a copy of the name of a context.

JSGlobalContextSetName

Sets the remote debugging name for a context.

JSObjectGetArrayBufferByteLength

Returns the number of bytes in a JavaScript data object.

JSObjectGetArrayBufferBytesPtr

Returns a pointer to the data buffer that serves as the backing store for a JavaScript Typed Array object.

JSObjectGetTypedArrayBuffer

Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.

JSObjectGetTypedArrayByteLength

Returns the byte length of a JavaScript Typed Array object.

JSObjectGetTypedArrayBytesPtr

Returns a temporary pointer to the backing store of a JavaScript Typed Array object.

JSObjectGetTypedArrayLength

Returns the length of a JavaScript Typed Array object.

JSObjectMakeArrayBufferWithBytesNoCopy

Creates a JavaScript Array Buffer object from an existing pointer.

JSObjectMakeTypedArray

Creates a JavaScript Typed Array object with the given number of elements.

JSObjectMakeTypedArrayWithArrayBuffer

Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object.

JSObjectMakeTypedArrayWithArrayBufferAndOffset

Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object with the given offset and length.

JSObjectMakeTypedArrayWithBytesNoCopy

Creates a JavaScript Typed Array object from an existing pointer.

JSValueGetTypedArrayType

Returns a JavaScript value’s Typed Array type.

JSValueIsArray

Tests whether a JavaScript value is an array.

JSValueIsDate

Tests whether a JavaScript value is a date.