Interface BigInt64ArrayConstructor
interface BigInt64ArrayConstructor {
new BigInt64ArrayConstructornew (length?: number): BigInt64Array;
new BigInt64ArrayConstructornew (array: Iterable<bigint, any, any>): BigInt64Array;
new BigInt64ArrayConstructornew (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
BYTES_PER_ELEMENT: number;
prototype: BigInt64Array;
from(arrayLike: ArrayLike<bigint>): BigInt64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: ((v: U, k: number) => bigint), thisArg?: any): BigInt64Array;
of(...items: bigint[]): BigInt64Array;
}
new BigInt64ArrayConstructornew (length?: number): BigInt64Array;
new BigInt64ArrayConstructornew (array: Iterable<bigint, any, any>): BigInt64Array;
new BigInt64ArrayConstructornew (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
BYTES_PER_ELEMENT: number;
prototype: BigInt64Array;
from(arrayLike: ArrayLike<bigint>): BigInt64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: ((v: U, k: number) => bigint), thisArg?: any): BigInt64Array;
of(...items: bigint[]): BigInt64Array;
}
Index
Constructors
constructor
- new
Big (length?): BigInt64ArrayInt64 Array Constructor Parameters
Optional
length: number
Returns BigInt64Array
- new
Big (array): BigInt64ArrayInt64 Array Constructor Parameters
- array: Iterable<bigint, any, any>
Returns BigInt64Array
- new
Big (buffer, byteOffset?, length?): BigInt64ArrayInt64 Array Constructor Parameters
- buffer: ArrayBufferLike
Optional
byteOffset: numberOptional
length: number
Returns BigInt64Array
Methods
from
- from(arrayLike): BigInt64Array
Creates an array from an array-like or iterable object.
Parameters
- arrayLike: ArrayLike<bigint>
An array-like or iterable object to convert to an array.
Returns BigInt64Array
- arrayLike: ArrayLike<bigint>
- from<U>(arrayLike, mapfn, thisArg?): BigInt64Array
Type Parameters
Parameters
Returns BigInt64Array
of
- of(...items): BigInt64Array
Returns a new array from a set of elements.
Parameters
Rest
...items: bigint[]A set of elements to include in the new array object.
Returns BigInt64Array
The size in bytes of each element in the array.