MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / unique

Function unique

packages/plugins/provider-service-split/src/planner.ts:290–290  ·  view source on GitHub ↗
(values: Iterable<T>)

Source from the content-addressed store, hash-verified

288]);
289
290const unique = <T>(values: Iterable<T>): readonly T[] => [...new Set(values)];
291
292export const tenantHash = (tenant: string): string =>
293 createHash("sha256").update(tenant).digest("hex").slice(0, 12);

Callers 7

deriveServicesFunction · 0.70
unassignedToolNamesFunction · 0.70
rewritePolicyFunction · 0.70
planMigrationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected