isAge
Checks whether a given string is a valid age.
function isAge(ageInput: string): boolean;
Examples
isAge('25'); // true
isAge('asd'); // false
isAge('24.3'); // false
Checks whether a given string is a valid age.
function isAge(ageInput: string): boolean;
isAge('25'); // true
isAge('asd'); // false
isAge('24.3'); // false