Jump to headingFloat16Array.reduceRight(callbackfn: () => number): numberCalls 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 Jump to heading
Jump to headingcallbackfn: () => numberA function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Return Type Jump to heading
numberJump to headingFloat16Array.reduceRight(callbackfn: () => number,initialValue: number,): numberParameters Jump to heading
Jump to headingcallbackfn: () => numberJump to headinginitialValue: numberReturn Type Jump to heading
numberJump to headingFloat16Array.reduceRight<U>(callbackfn: () => U,initialValue: U,): UCalls 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 Jump to heading
Parameters Jump to heading
Jump to headingcallbackfn: () => UA function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Jump to headinginitialValue: UIf initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.