Skip to content
PACKAGES

isDecimalIntegerString()

Test whether a value is a canonical decimal integer string.

import { isDecimalIntegerString } from "@graphrefly/ts/storage";
function isDecimalIntegerString(value: unknown): value is DecimalIntegerString
ParameterTypeDescription
valueunknownUnknown value to check or decode.

true when the value matches the expected shape.

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

packages/ts/src/storage/scalar.ts