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

Function assertNegativeZero

repos/effect/packages/effect/test/Number.test.ts:11–13  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

9}
10
11const assertNegativeZero = (value: number): void => {
12 assert.ok(Object.is(value, -0))
13}
14
15const iterableThatFailsAfterZero = (): Iterable<number> => ({
16 [Symbol.iterator]: function*() {

Callers 1

Number.test.tsFile · 0.85

Calls 1

isMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…