MCPcopy Create free account
hub / github.com/effect-app/libs / iterableWith

Function iterableWith

repos/effect/packages/effect/src/Hash.ts:472–478  ·  view source on GitHub ↗
(seed: number, f: (el: any) => number)

Source from the content-addressed store, hash-verified

470 * const arr2 = [1, 2, 3]
471 * const arr3 = [3, 2, 1]
472 *
473 * Hash.array(arr1) // => 6151
474 * Hash.array(arr2) // => 6151
475 * Hash.array(arr3) // => 6151
476 * Hash.array(arr1) === Hash.array(arr2) // => true
477 * Hash.array(arr1) === Hash.array(arr3) // => true
478 * ```
479 *
480 * @see {@link hash} for the general-purpose hash dispatcher
481 *

Callers 1

Hash.tsFile · 0.85

Calls 2

optimizeFunction · 0.85
fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…