MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / checkConditions

Function checkConditions

src/compute-engine/boxed-expression/rules.ts:257–263  ·  view source on GitHub ↗
(x: Expression, conditions: string[])

Source from the content-addressed store, hash-verified

255
256 collection: (x: Expression) => x.isCollection,
257 list: (x: Expression) => x.operator === 'List',
258 set: (x: Expression) => x.operator === 'Set',
259 tuple: (x: Expression) =>
260 x.operator === 'Tuple' ||
261 x.operator === 'Single' ||
262 x.operator === 'Pair' ||
263 x.operator === 'Triple',
264 single: (x: Expression) => x.operator === 'Single',
265 pair: (x: Expression) => x.operator === 'Pair',
266 triple: (x: Expression) => x.operator === 'Triple',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected