index.js
function stringify (val) {
  var stack = val.stack

  if (stack) {
    return String(stack)
  }

  var str = String(val)

  return str === toString.call(val)
    ? inspect(val)
    : str
}
function stringify (val) {
  var stack = val.stack

  if (stack) {
    return String(stack)
  }

  var str = String(val)

  return str === toString.call(val)
    ? inspect(val)
    : str
}
function stringify ( val ) { var stack = val . stack if ( stack ) { return String ( stack ) } var str = String ( val ) return str === toString . call ( val ) ? inspect ( val ) : str }
Stringify a value.
@api private
Stringify a value .