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

Function isSliceEntry

scripts/fungrim/compile-rules.ts:151–158  ·  view source on GitHub ↗
(e: Entry)

Source from the content-addressed store, hash-verified

149// ---------------------------------------------------------------------------
150// Slice selection
151// ---------------------------------------------------------------------------
152
153export function isSliceEntry(e: Entry): boolean {
154 return (
155 (e.class === 'specific-value' || e.class === 'identity') &&
156 (e.guardLevel === 'none' ||
157 e.guardLevel === 'real-simple' ||
158 e.guardLevel === 'complex-domain')
159 );
160}
161

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected