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

Function asCall

scripts/rubi/extract-rules.ts:64–66  ·  view source on GitHub ↗
(expr: Json, op: string)

Source from the content-addressed store, hash-verified

62}
63
64function asCall(expr: Json, op: string): Json[] | null {
65 return Array.isArray(expr) && expr[0] === op ? (expr as Json[]) : null;
66}
67
68/** Net bracket depth of a fragment, ignoring brackets inside strings. */
69function bracketBalance(s: string): number {

Callers 2

extractRulesFunction · 0.85
normalizeRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected