MCPcopy
hub / github.com/widgetti/ipyvolume / replace

Function replace

docs/source/examples/js/ipyvolume_v0.6.0-dev.1.js:50086–50091  ·  view source on GitHub ↗

* Replaces matches for `pattern` in `string` with `replacement`. * * **Note:** This method is based on * [`String#replace`](https://mdn.io/String/replace). * * @static * @memberOf _ * @since 4.0.0 * @category String * @param {string} [string=''] The strin

()

Source from the content-addressed store, hash-verified

50084 * // => 'Hi Barney'
50085 */
50086 function replace() {
50087 var args = arguments,
50088 string = toString(args[0]);
50089
50090 return args.length < 3 ? string : string.replace(args[1], args[2]);
50091 }
50092
50093 /**
50094 * Converts `string` to

Callers

nothing calls this directly

Calls 4

toStringFunction · 0.85
parseIncludesFunction · 0.85
parseIntFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected