MCPcopy Create free account
hub / github.com/breck7/scroll / every

Method every

external/.scrollLibs.js:20178–20183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20176 const edgeSymbol = this.edgeSymbol
20177 const values = Array.from(asSet).filter(identity => identity)
20178 const every = fn => {
20179 for (let index = 0; index < values.length; index++) {
20180 if (!fn(values[index])) return false
20181 }
20182 return true
20183 }
20184 if (every(str => str === "0" || str === "1")) return { atomTypeId: PreludeAtomTypeIds.bitAtom }
20185 if (
20186 every(str => {

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected