MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / every

Function every

source code/utils/set.ts:34–41  ·  view source on GitHub ↗
(a: ReadonlySet<A>, b: ReadonlySet<A>)

Source from the content-addressed store, hash-verified

32 * Note: this code is hot, so is optimized for speed.
33 */
34export function every<A>(a: ReadonlySet<A>, b: ReadonlySet<A>): boolean {
35 for (const item of a) {
36 if (!b.has(item)) {
37 return false
38 }
39 }
40 return true
41}
42
43/**
44 * Note: this code is hot, so is optimized for speed.

Callers 1

shouldRenderStaticallyFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected