src/basis/data.js
function(count){
      var result = [];

      if (count)
        for (var objectId in this.items_)
          if (result.push(this.items_[objectId]) >= count)
            break;

      return result;
    }
function(count){
      var result = [];

      if (count)
        for (var objectId in this.items_)
          if (result.push(this.items_[objectId]) >= count)
            break;

      return result;
    }
function ( count ) { var result = [ ] ; if ( count ) for ( var objectId in this . items_ ) if ( result . push ( this . items_ [ objectId ] ) >= count ) break ; return result ; }
Returns some N items from dataset if exists.
@param {number} count Max length of resulting array.
@return {Array.<basis.data.Object>}
Returns some N items from dataset if exists .