MCPcopy
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

bigdecimal.test.tsFile · 0.80
GetOperandsFunction · 0.80
ResolvePluralInternalFunction · 0.80
FormatNumericToStringFunction · 0.80
ComputeExponentFunction · 0.80
ToRawPrecisionFunction · 0.80
PartitionNumberPatternFunction · 0.80
ToRawFixedFunction · 0.80
ToIntegerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected