MCPcopy Create free account
hub / github.com/Moli-X/Resources / AND

Function AND

Script/Parser.js:3605–3607  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

3603}
3604
3605function AND(...args) {
3606 return args.reduce((a, b) => a.map((c, i) => b[i] && c));
3607}
3608
3609function OR(...args) {
3610 return args.reduce((a, b) => a.map((c, i) => b[i] || c))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected