2 * Converts `value` to a string if it's not one. An empty string is returned
3 * for `null` or `undefined` values.
6 * @param {*} value The value to process.
7 * @returns {string} Returns the string.
9 function baseToString(value) {
10 return value == null ? '' : (value + '');
13 module.exports = baseToString;