effect-io-ai

Package: effect
Module: BigInt

BigInt.multiply

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

Signature

declare const multiply: { (that: bigint): (self: bigint) => bigint; (self: bigint, that: bigint): bigint; }

Source

Since v2.0.0