Skip to content
PACKAGES

bigIntToNonNegativeDecimalString()

Convert a non-negative host BigInt to the canonical non-negative decimal storage scalar.

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

A NonNegativeDecimalIntegerString value.

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

packages/ts/src/storage/scalar.ts