MCPcopy Index your code
hub / github.com/CacheControl/json-rules-engine / setup

Function setup

test/almanac.test.js:136–140  ·  view source on GitHub ↗
(f = new Fact('id', 1))

Source from the content-addressed store, hash-verified

134 }
135
136 function setup (f = new Fact('id', 1)) {
137 fact = f
138 almanac = new Almanac()
139 almanac.addFact(fact)
140 }
141 let fact
142 const FACT_VALUE = 2
143

Callers 1

almanac.test.jsFile · 0.70

Calls 1

addFactMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…