MCPcopy Create free account
hub / github.com/CJex/regulex / assertNonOverlap

Function assertNonOverlap

test/KitSpec.ts:252–257  ·  view source on GitHub ↗
(a: K.Charset[])

Source from the content-addressed store, hash-verified

250 }
251
252 function assertNonOverlap(a: K.Charset[]): void {
253 a.reduce((prev, current) => {
254 assert(prev.intersect(current).isEmpty());
255 return current;
256 });
257 }
258 });
259 }
260 });

Callers 1

KitSpec.tsFile · 0.85

Calls 2

isEmptyMethod · 0.80
intersectMethod · 0.80

Tested by

no test coverage detected