MCPcopy
hub / github.com/lodash/lodash / toString

Function toString

lodash.js:12656–12658  ·  view source on GitHub ↗

* Converts `value` to a string. An empty string is returned for `null` * and `undefined` values. The sign of `-0` is preserved. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to convert. * @returns {string} Returns the c

(value)

Source from the content-addressed store, hash-verified

12654 * // => '1,2,3'
12655 */
12656 function toString(value) {
12657 return value == null ? '' : baseToString(value);
12658 }
12659
12660 /*------------------------------------------------------------------------*/
12661

Callers 15

castPathFunction · 0.85
createCaseFirstFunction · 0.85
createRoundFunction · 0.85
capitalizeFunction · 0.85
deburrFunction · 0.85
endsWithFunction · 0.85
escapeFunction · 0.85
escapeRegExpFunction · 0.85
padFunction · 0.85
padEndFunction · 0.85
padStartFunction · 0.85
parseIntFunction · 0.85

Calls 1

baseToStringFunction · 0.85

Tested by

no test coverage detected