Skip to main content

Function: stringToBigIntTransform()

function stringToBigIntTransform(): ModelPropTransform<string, bigint>;

Returns​

ModelPropTransform<string, bigint>

Deprecated​

Prefer the codec equivalent: tProp(types.bigint). Use tProp(types.skipCheck(types.bigint)) if you don't need runtime validation.