Skip to content

Float16ArrayConstructor

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:372

new Float16ArrayConstructor(length?): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:374

ParameterType
length?number

Float16Array<ArrayBuffer>

new Float16ArrayConstructor(array): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:375

ParameterType
array| Iterable<number, any, any> | ArrayLike<number>

Float16Array<ArrayBuffer>

new Float16ArrayConstructor<TArrayBuffer>(
buffer,
byteOffset?,
length?): Float16Array<TArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:376

ParameterType
bufferTArrayBuffer
byteOffset?number
length?number

Float16Array<TArrayBuffer>

new Float16ArrayConstructor(
buffer,
byteOffset?,
length?): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:377

ParameterType
bufferArrayBuffer
byteOffset?number
length?number

Float16Array<ArrayBuffer>

new Float16ArrayConstructor(array): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:378

ParameterType
array| ArrayBuffer | ArrayLike<number>

Float16Array<ArrayBuffer>

readonly BYTES_PER_ELEMENT: number;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:383

The size in bytes of each element in the array.


readonly prototype: Float16Array<ArrayBufferLike>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:373

from(arrayLike): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:395

Creates an array from an array-like or iterable object.

ParameterTypeDescription
arrayLikeArrayLike<number>An array-like object to convert to an array.

Float16Array<ArrayBuffer>

from<T>(
arrayLike,
mapfn,
thisArg?): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:403

Creates an array from an array-like or iterable object.

Type Parameter
T
ParameterTypeDescription
arrayLikeArrayLike<T>An array-like object to convert to an array.
mapfn(v, k) => numberA mapping function to call on every element of the array.
thisArg?anyValue of ‘this’ used to invoke the mapfn.

Float16Array<ArrayBuffer>

from(elements): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:409

Creates an array from an array-like or iterable object.

ParameterTypeDescription
elementsIterable<number>An iterable object to convert to an array.

Float16Array<ArrayBuffer>

from<T>(
elements,
mapfn?,
thisArg?): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:417

Creates an array from an array-like or iterable object.

Type Parameter
T
ParameterTypeDescription
elementsIterable<T>An iterable object to convert to an array.
mapfn?(v, k) => numberA mapping function to call on every element of the array.
thisArg?anyValue of ‘this’ used to invoke the mapfn.

Float16Array<ArrayBuffer>


of(...items): Float16Array<ArrayBuffer>;

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts:389

Returns a new array from a set of elements.

ParameterTypeDescription
itemsnumber[]A set of elements to include in the new array object.

Float16Array<ArrayBuffer>