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

Function exprHasWildcards

src/compute-engine/engine-assumptions.ts:388–393  ·  view source on GitHub ↗

True if `expr` contains a wildcard (a symbol/operator starting with `_`).

(expr: Expression)

Source from the content-addressed store, hash-verified

386 return result;
387}
388
389export function verify(
390 ce: IComputeEngine,
391 query: Expression | string
392): boolean | undefined {
393 // Prevent recursive verify() -> ask() -> verify() loops. The `_isVerifying`
394 // flag is set once, here, at the OUTERMOST call; the logical recursion below
395 // goes through `verifyInner`, which does NOT re-check the flag (SYM P3-2 —
396 // the previous `verify()`-recurses-into-`verify()` shape was dead code: the

Callers 1

verifyInnerFunction · 0.85

Calls 2

isWildcardFunction · 0.90
isFunctionFunction · 0.90

Tested by

no test coverage detected