lib/stream.js
function(type, value) {
    if (type.name === 'String') {
      // crop strings at 10k characters
      if (value.length > 10000) {
        value = value.slice(0, 10000);
      }
    }
    type.values.pushSome(value);
  }
function(type, value) {
    if (type.name === 'String') {
      // crop strings at 10k characters
      if (value.length > 10000) {
        value = value.slice(0, 10000);
      }
    }
    type.values.pushSome(value);
  }
function ( type , value ) { if ( type . name === 'String' ) { // crop strings at 10k characters if ( value . length > 10000 ) { value = value . slice ( 0 , 10000 ) ; } } type . values . pushSome ( value ) ; }
handles adding the value to the value reservoir. Will also crop
strings at 10,000 characters.

@param {Object} type    the type object from `addToType`
@param {Any}    value   the value to be added to `type.values`
handles adding the value to the value reservoir . Will also crop strings at 10 000 characters .