method Float16ArrayConstructor.from
#Float16ArrayConstructor.from(arrayLike: ArrayLike<number>): Float16Array<ArrayBuffer>
Creates an array from an array-like or iterable object.
Parameters #
#arrayLike: ArrayLike<number>
An array-like object to convert to an array.
Return Type #
Float16Array<ArrayBuffer>
#Float16ArrayConstructor.from<T>(arrayLike: ArrayLike<T>,mapfn: (v: T,k: number,) => number,thisArg?: any,): Float16Array<ArrayBuffer>
Creates an array from an array-like or iterable object.
Type Parameters #
#T
Parameters #
Return Type #
Float16Array<ArrayBuffer>
#Float16ArrayConstructor.from(elements: Iterable<number>): Float16Array<ArrayBuffer>
Creates an array from an array-like or iterable object.
Parameters #
#elements: Iterable<number>
An iterable object to convert to an array.
Return Type #
Float16Array<ArrayBuffer>
#Float16ArrayConstructor.from<T>(elements: Iterable<T>,mapfn?: (v: T,k: number,) => number,thisArg?: any,): Float16Array<ArrayBuffer>
Creates an array from an array-like or iterable object.
Type Parameters #
#T
Parameters #
Return Type #
Float16Array<ArrayBuffer>