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

Function optimize

packages/effect/src/Hash.ts:257–257  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

255 * @since 2.0.0
256 */
257export const optimize = (n: number): number => (n & 0xbfffffff) | ((n >>> 1) & 0x40000000)
258
259/**
260 * Checks whether a value implements the Hash interface.

Callers 4

numberFunction · 0.85
stringFunction · 0.85
structureKeysFunction · 0.85
iterableWithFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected