MCPcopy
hub / github.com/walterhiggins/ScriptCraft / foreach

Function foreach

src/docs/js/generateApiDocs.js:5–9  ·  view source on GitHub ↗
(array, func)

Source from the content-addressed store, hash-verified

3 This script is run at build time to generate api.md - a single Markdown document containing documentation for ScriptCraft's API
4 */
5function foreach(array, func) {
6 for (var i = 0; i < array.length; i++) {
7 func(array[i], i, array);
8 }
9}
10/*
11 find - a (very) basic implementation of the unix command line tool.
12 */

Callers 5

sounds.jsFile · 0.85
sounds.jsFile · 0.85
revokeScriptingFunction · 0.85
findFunction · 0.85
generateApiDocs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected