Skip to main content
Module

x/tpy/mod.ts>TypeUtil.StringifiedNumberWithDefault

🔑 A strongly typed Pylon API client.
Go to Latest
type alias TypeUtil.StringifiedNumberWithDefault
import { type TypeUtil } from "https://deno.land/x/tpy@v1.0.0-pre-release-3/mod.ts";
const { StringifiedNumberWithDefault } = TypeUtil;

Type Parameters

T extends bigint | number
definition: T extends bigint ? bigintstrWithDefault<T> : T extends number ? numstrWithDefault<T> : never