MCPcopy Create free account
hub / github.com/microsoft/typescript-go / NaN

Function NaN

internal/jsnum/jsnum.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20type Number float64
21
22func NaN() Number {
23 return Number(math.NaN())
24}
25
26func (n Number) IsNaN() bool {
27 return math.IsNaN(float64(n))

Callers 8

RemainderMethod · 0.85
ExponentiateMethod · 0.85
string_test.goFile · 0.85
FromStringFunction · 0.85
tryParseIntFunction · 0.85
jsnum_test.goFile · 0.85
TestRemainderFunction · 0.85
TestExponentiateFunction · 0.85

Calls 1

NumberTypeAlias · 0.70

Tested by 2

TestRemainderFunction · 0.68
TestExponentiateFunction · 0.68