import { type NatNum } from "https://deno.land/x/rimbu@0.13.5/typical/strnum.ts";
Type that will return the incoming type if the value is a valid natural number,
or never
otherwise.
Examples
Example 1
Example 1
NatNum<'321'> => '321'
NatNum<'0'> => '0'