Ei kuvausta

index.js 738B

12345678910111213141516171819202122
  1. /**
  2. * lodash 3.0.1 (Custom Build) <https://lodash.com/>
  3. * Build: `lodash modern modularize exports="npm" -o ./`
  4. * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
  5. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  6. * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  7. * Available under MIT license <https://lodash.com/license>
  8. */
  9. /**
  10. * Converts `value` to a string if it's not one. An empty string is returned
  11. * for `null` or `undefined` values.
  12. *
  13. * @private
  14. * @param {*} value The value to process.
  15. * @returns {string} Returns the string.
  16. */
  17. function baseToString(value) {
  18. return value == null ? '' : (value + '');
  19. }
  20. module.exports = baseToString;