MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / logic

Function logic

lib/simple.js:1732–1736  ·  view source on GitHub ↗
(check, inp, out)

Source from the content-addressed store, hash-verified

1730}
1731
1732export function logic(check, inp, out) {
1733 if (inp.length !== out.length) throw new Error('Input and Output must have same length')
1734 for (let i in inp) if (util.isDeepStrictEqual(check, inp[i])) return out[i]
1735 return null
1736}
1737
1738export function protoType() {
1739 Buffer.prototype.toArrayBuffer = function toArrayBufferV2() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected