MCPcopy
hub / github.com/formatjs/formatjs / lessThan

Method lessThan

packages/bigdecimal/index.ts:572–575  ·  view source on GitHub ↗
(y: BigDecimal | number | string | bigint)

Source from the content-addressed store, hash-verified

570 }
571
572 lessThan(y: BigDecimal | number | string | bigint): boolean {
573 const c = this._compareTo(BigDecimal._coerce(y))
574 return c === -1
575 }
576
577 greaterThan(y: BigDecimal | number | string | bigint): boolean {
578 const c = this._compareTo(BigDecimal._coerce(y))

Callers 5

bigdecimal.test.tsFile · 0.80
FormatNumericToStringFunction · 0.80
findN1E1R1Function · 0.80
findN2E2R2Function · 0.80

Calls 2

_compareToMethod · 0.95
_coerceMethod · 0.80

Tested by

no test coverage detected