method Float16Constructor.from
Jump to headingFloat16Constructor.from(arrayLike: Iterable<number>,mapfn?: (v: number,k: number,) => number,thisArg?: any,): Float16ArrayCreates an array from an array-like or iterable object.
Parameters Jump to heading
Jump to headingarrayLike: Iterable<number>An array-like or iterable object to convert to an array.
optional
Jump to headingmapfn: (v: number,k: number,) => numberA mapping function to call on every element of the array.
optional
Jump to headingthisArg: anyValue of 'this' used to invoke the mapfn.