MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromBigInt

Function fromBigInt

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

Source from the content-addressed store, hash-verified

1167 * @since 2.0.0
1168 */
1169export const fromBigInt = (n: bigint): BigDecimal => make(n, 0)
1170
1171/**
1172 * Creates a `BigDecimal` from a finite `number`.

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected