Options
All
  • Public
  • Public/Protected
  • All
Menu

Package bi

@ckb-lumos/bi

A big number library for lumos.

Example

import { BI } from "@ckb-lumos/bi";

BI.from(1).add(1)

Index

Classes

Type aliases

Functions

Type aliases

BIish

BIish: number | string | bigint | BI

BIish

BIish: number | string | bigint | BI

Functions

isBILike

  • isBILike(value: unknown): value is Record<string, unknown>
  • Parameters

    • value: unknown

    Returns value is Record<string, unknown>

isBIish

  • isBIish(value: unknown): value is BIish
  • Parameters

    • value: unknown

    Returns value is BIish

isBIish

  • isBIish(value: unknown): value is BIish
  • Parameters

    • value: unknown

    Returns value is BIish

toBI

  • toBI(value: JSBI): BI
  • Parameters

    • value: JSBI

    Returns BI

toJSBI

  • toJSBI(value: BIish): JSBI
  • Parameters

    Returns JSBI

toJSBI

  • toJSBI(value: BIish): JSBI
  • Parameters

    Returns JSBI

Generated using TypeDoc