chai-immutable.js
function assertCollectionSizeLeast(_super) {
    return function(n) {
      if (utils.flag(this, 'immutable.collection.size')) {
        assertIsIterable(this._obj);

        const { size } = this._obj;
        new Assertion(size).a('number');

        this.assert(
          size >= n,
          'expected #{this} to have a size of at least #{exp} but got #{act}',
          'expected #{this} to not have a size of at least #{exp} but got ' +
            '#{act}',
          n,
          size
        );
      } else {
        _super.apply(this, arguments);
      }
    };
  }
function assertCollectionSizeLeast(_super) {
    return function(n) {
      if (utils.flag(this, 'immutable.collection.size')) {
        assertIsIterable(this._obj);

        const { size } = this._obj;
        new Assertion(size).a('number');

        this.assert(
          size >= n,
          'expected #{this} to have a size of at least #{exp} but got #{act}',
          'expected #{this} to not have a size of at least #{exp} but got ' +
            '#{act}',
          n,
          size
        );
      } else {
        _super.apply(this, arguments);
      }
    };
  }
function assertCollectionSizeLeast ( _super ) { return function ( n ) { if ( utils . flag ( this , 'immutable.collection.size' ) ) { assertIsIterable ( this . _obj ) ; const { size } = this . _obj ; new Assertion ( size ) . a ( 'number' ) ; this . assert ( size >= n , 'expected #{this} to have a size of at least #{exp} but got #{act}' , 'expected #{this} to not have a size of at least #{exp} but got ' + '#{act}' , n , size ) ; } else { _super . apply ( this , arguments ) ; } } ; }
Numerical comparator overwrites
Numerical comparator overwrites