Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ assertNegativeZero
Function
assertNegativeZero
packages/effect/test/Number.test.ts:11–13 ·
view source on GitHub ↗
(value: number)
Source
from the content-addressed store, hash-verified
9
}
10
11
const
assertNegativeZero = (value: number): void => {
12
assert.ok(Object.is(value, -0))
13
}
14
15
const
iterableThatFailsAfterZero = (): Iterable<number> => ({
16
[Symbol.iterator]:
function
*() {
Callers
1
Number.test.ts
File · 0.85
Calls
1
is
Method · 0.65
Tested by
no test coverage detected