method Float16Array.reduceRight
#Float16Array.reduceRight(callbackfn: (previousValue: number,currentValue: number,currentIndex: number,array: this,) => number): number
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters #
#callbackfn: (previousValue: number,currentValue: number,currentIndex: number,array: this,) => number
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Return Type #
number
#Float16Array.reduceRight(callbackfn: (previousValue: number,currentValue: number,currentIndex: number,array: this,) => number,initialValue: number,): number
#Float16Array.reduceRight<U>(callbackfn: (previousValue: U,currentValue: number,currentIndex: number,array: this,) => U,initialValue: U,): U
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type Parameters #
#U
Parameters #
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.