import { type Finite } from "https://deno.land/x/actionify@0.3.0/src/deps/types.ts";
A finite number
.
You can't pass a bigint
as they are already guaranteed to be finite.
Use-case: Validating and documenting parameters.
Note: This can't detect NaN
, please upvote this issue if you want to have this type as a built-in in TypeScript.