MCPcopy
hub / github.com/microsoft/SandDance / slice

Function slice

docs/app/js/sanddance-app.js:143001–143003  ·  view source on GitHub ↗
(seq, ...args)

Source from the content-addressed store, hash-verified

142999 return sequence(seq).lastIndexOf(...args);
143000}
143001function slice(seq, ...args) {
143002 return sequence(seq).slice(...args);
143003}
143004function replace(str, pattern, repl) {
143005 if ((0, _vegaUtil.isFunction)(repl)) (0, _vegaUtil.error)("Function argument passed to replace.");
143006 return String(str).replace(pattern, repl);

Callers

nothing calls this directly

Calls 1

sequenceFunction · 0.70

Tested by

no test coverage detected