Package: effect
Module: BigInt
Provides a multiplication operation on bigints.
When to use
Use to multiply two bigint values.
Example (Multiplying bigints)
import { BigInt } from "effect"
import * as assert from "node:assert"
assert.deepStrictEqual(BigInt.multiply(2n, 3n), 6n)
See
multiplyAll for multiplying an iterable of bigint valuesSignature
declare const multiply: { (that: bigint): (self: bigint) => bigint; (self: bigint, that: bigint): bigint; }
Since v2.0.0