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

Function isSubset

scripts/fungrim/compile-rules.ts:198–201  ·  view source on GitHub ↗
(a: ReadonlySet<string>, b: ReadonlySet<string>)

Source from the content-addressed store, hash-verified

196 return out;
197}
198
199function isSubset(a: ReadonlySet<string>, b: ReadonlySet<string>): boolean {
200 for (const x of a) if (!b.has(x)) return false;
201 return true;
202}
203
204/** The non-wildcard MathJSON payload(s) of a guard (for shell collection). */

Callers 3

orientEntryFunction · 0.85
selfTestScopedFunction · 0.85
compileEntriesFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected