MCPcopy Index your code
hub / github.com/codeaashu/claude-code / every

Function every

src/utils/set.ts:32–39  ·  view source on GitHub ↗
(a: ReadonlySet<A>, b: ReadonlySet<A>)

Source from the content-addressed store, hash-verified

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