MCPcopy Create free account
hub / github.com/microsoft/SandDance / splitStr

Function splitStr

docs/app/js/sanddance-app.js:92678–92680  ·  view source on GitHub ↗

* split string on whitespace * @param {String} str * @returns {Array} words

(str)

Source from the content-addressed store, hash-verified

92676 * @param {String} str
92677 * @returns {Array} words
92678 */ function splitStr(str) {
92679 return str.trim().split(/\s+/g);
92680 }
92681 /**
92682 * find if a array contains the object using indexOf or a simple polyFill
92683 * @param {Array} src

Callers 3

addEventListenersFunction · 0.70
removeEventListenersFunction · 0.70
sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected