Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/formatjs/formatjs
/ isZero
Method
isZero
packages/bigdecimal/index.ts:594–596 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
592
// --- Queries ---
593
594
isZero(): boolean {
595
return
this._special === SpecialValue.NONE && this._mantissa === 0n
596
}
597
598
isNaN(): boolean {
599
return
this._special === SpecialValue.NAN
Callers
11
PartitionDurationFormatPattern
Function · 0.95
bigdecimal.test.ts
File · 0.80
GetOperands
Function · 0.80
ResolvePluralInternal
Function · 0.80
ApplyUnsignedRoundingMode
Function · 0.80
FormatNumericToString
Function · 0.80
ComputeExponent
Function · 0.80
ToRawPrecision
Function · 0.80
PartitionNumberPattern
Function · 0.80
ToRawFixed
Function · 0.80
ToInteger
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected