Function byMin_byMax_min_max
byMin_byMax_min_max<T>( input: Iterable<T>, selector: undefined | (
(arg: T) => number)
, isMin: boolean, isBy: true,): T Parameters
- input: Iterable<T>
- selector: undefined | ((arg: T) => number)
- isMin: boolean
- isBy: true
Returns T
byMin_byMax_min_max<T>( input: Iterable<T>, selector: undefined | (
(arg: T) => number)
, isMin: boolean, isBy: false,): number Parameters
- input: Iterable<T>
- selector: undefined | ((arg: T) => number)
- isMin: boolean
- isBy: false
Returns number
Finds the value of a sequence, or the value in the sequence, that is the min, or the max.
Depending on the booleans at the end or if you pass a selector or not.