src/templates.js
function baseToString(value) {
    // Exit early for strings to avoid a performance hit in some environments.
    if (typeof value == 'string') {
      return value;
    }
    if (isArray(value)) {
      // Recursively convert values (susceptible to call stack limits).
      return arrayMap(value, baseToString) + '';
    }
    if (isSymbol(value)) {
      return symbolToString ? symbolToString.call(value) : '';
    }
    var result = (value + '');
    return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
  }
function baseToString(value) {
    // Exit early for strings to avoid a performance hit in some environments.
    if (typeof value == 'string') {
      return value;
    }
    if (isArray(value)) {
      // Recursively convert values (susceptible to call stack limits).
      return arrayMap(value, baseToString) + '';
    }
    if (isSymbol(value)) {
      return symbolToString ? symbolToString.call(value) : '';
    }
    var result = (value + '');
    return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
  }
function baseToString ( value ) { // Exit early for strings to avoid a performance hit in some environments. if ( typeof value == 'string' ) { return value ; } if ( isArray ( value ) ) { // Recursively convert values (susceptible to call stack limits). return arrayMap ( value , baseToString ) + '' ; } if ( isSymbol ( value ) ) { return symbolToString ? symbolToString . call ( value ) : '' ; } var result = ( value + '' ) ; return ( result == '0' && ( 1 / value ) == - INFINITY ) ? '-0' : result ; }
The base implementation of `_.toString` which doesn't convert nullish
values to empty strings.

@private
@param {*} value The value to process.
@returns {string} Returns the string.
The base implementation of _ . toString which doesn t convert nullish values to empty strings .