bigIntToDecimalString()
Convert a host BigInt to the canonical decimal storage scalar.
Import
Section titled “Import”import { bigIntToDecimalString } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function bigIntToDecimalString(value: bigint): DecimalIntegerStringParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
value | bigint | Unknown value to check or decode. |
Returns
Section titled “Returns”A DecimalIntegerString value.
Example
Section titled “Example”import { bigIntToDecimalString } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/scalar.ts