import { type StrNum } from "https://deno.land/x/rimbu@0.13.5/typical/mod.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