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

Function subject

test/fact.test.js:6–8  ·  view source on GitHub ↗
(id, definition, options)

Source from the content-addressed store, hash-verified

4
5describe('Fact', () => {
6 function subject (id, definition, options) {
7 return new Fact(id, definition, options)
8 }
9 describe('Fact::constructor', () => {
10 it('works for constant facts', () => {
11 const fact = subject('factId', 10)

Callers 2

index.test.jsFile · 0.70
fact.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…