MCPcopy Create free account
hub / github.com/Lemoncode/fonk / toString

Function toString

src/helpers/set.js:992–994  ·  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 process. * @returns {string} Returns the string. * @example * * _.toStr

(value)

Source from the content-addressed store, hash-verified

990 * // => '1,2,3'
991 */
992function toString(value) {
993 return value == null ? '' : baseToString(value);
994}
995
996/**
997 * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,

Callers 1

set.jsFile · 0.70

Calls 1

baseToStringFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…