Skip to content
PACKAGES

bigIntToDecimalString()

Convert a host BigInt to the canonical decimal storage scalar.

import { bigIntToDecimalString } from "@graphrefly/ts/storage";
function bigIntToDecimalString(value: bigint): DecimalIntegerString
ParameterTypeDescription
valuebigintUnknown value to check or decode.

A DecimalIntegerString value.

import { bigIntToDecimalString } from "@graphrefly/ts/storage";

packages/ts/src/storage/scalar.ts