MCPcopy
hub / github.com/gitcoinco/web / toString

Function toString

app/assets/v2/js/ipfs-api.js:9983–9985  ·  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

9981 * // => '1,2,3'
9982 */
9983function toString(value) {
9984 return value == null ? '' : baseToString(value);
9985}
9986
9987/**
9988 * Gets the value at `path` of `object`. If the resolved value is

Callers 1

ipfs-api.jsFile · 0.85

Calls 1

baseToStringFunction · 0.85

Tested by

no test coverage detected