MCPcopy Index your code
hub / github.com/Effect-TS/effect / isInteger

Function isInteger

packages/effect/src/BigDecimal.ts:1075–1075  ·  view source on GitHub ↗
(n: BigDecimal)

Source from the content-addressed store, hash-verified

1073 * @category predicates
1074 */
1075export const isInteger = (n: BigDecimal): boolean => normalize(n).scale <= 0
1076
1077/**
1078 * Checks if a given `BigDecimal` is `0`.

Callers

nothing calls this directly

Calls 1

normalizeFunction · 0.70

Tested by

no test coverage detected