@rimbu/streamReducer (namespace)maxOn this pagetype maxReturns a Reducer that remembers the maximum value of the numberic inputs.exampleconsole.log(Stream.of(5, 3, 7, 4).reduce(Reducer.max()))// => 7Definitionmax: { (): Reducer<number, number | undefined>; <O>(otherwise: OptLazy<O>): Reducer<number, number | O>; }