MCPcopy Create free account
hub / github.com/Effect-TS/effect / structure

Function structure

packages/effect/src/Hash.ts:467–467  ·  view source on GitHub ↗
(o: A)

Source from the content-addressed store, hash-verified

465 * @since 2.0.0
466 */
467export const structure = <A extends object>(o: A) => structureKeys(o, getAllObjectKeys(o))
468
469const hashUnordered = <A>(seed: number, iter: Iterable<A>, f: (el: A) => number): number => {
470 let h = seed

Callers 1

hashFunction · 0.70

Calls 2

getAllObjectKeysFunction · 0.90
structureKeysFunction · 0.85

Tested by

no test coverage detected