import { type StrNum } from "https://deno.land/x/rimbu@1.1.0/typical/index.ts";
const { IsNatNum } = StrNum;
Returns true if the given string is a valid natural number, false otherwise.
Examples
Example 1
Example 1
IsNatNum<5> => true
IsNatNum<0> => true
IsNatNum<-5> => false