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

Function conditions

test/engine-fact.test.js:148–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146
147 describe('path', () => {
148 function conditions () {
149 return {
150 any: [{
151 fact: 'eligibilityData',
152 operator: 'lessThan',
153 path: '$.age',
154 params: {
155 eligibilityId: 1
156 },
157 value: 50
158 }]
159 }
160 }
161 it('emits when the condition is met', async () => {
162 setup(conditions())
163 await engine.run()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…