src/AbstractIterable.js
/** Returns an array with the elements of the iterable with the lesser
   * evaluation (or numerical conversion by default).
   *
   * @param {function(T):number} [evaluation=null] - A function with which to
   *   evaluate the values in this sequence.
   * @returns {T[]}
   */
Returns an array with the elements of the iterable with the lesser
evaluation (or numerical conversion by default).

@param {function(T):number} [evaluation=null] - A function with which to
evaluate the values in this sequence.
Returns an array with the elements of the iterable with the lesser evaluation ( or numerical conversion by default ) . @param { function ( T ) : number } [ evaluation = null ] - A function with which to evaluate the values in this sequence .
lesser(evaluation = null) {
    evaluation = evaluation || toNumber;
    let minEval = +Infinity;
    return this.reduce((result, value) => {
      const e = evaluation(value);
      if (minEval > e) {
        minEval = e;
        result = [value];
      } else if (minEval === e) {
        result.push(value);
      }
      return result;
    }, []);
  }
lesser ( evaluation = null ) { evaluation = evaluation || toNumber ; let minEval = + Infinity ; return this . reduce ( ( result , value ) => { const e = evaluation ( value ) ; if ( minEval > e ) { minEval = e ; result = [ value ] ; } else if ( minEval === e ) { result . push ( value ) ; } return result ; } , [ ] ) ; }
Returns an array with the elements of the iterable with the lesser
 evaluation (or numerical conversion by default).
Returns an array with the elements of the iterable with the lesser evaluation ( or numerical conversion by default ) .