@technobuddha/library
Version:
A large library of useful functions
9 lines (8 loc) • 334 B
TypeScript
/**
* Test an object to see if it a number, or a string which can be converted into a number
* @param input - the object to test
* @returns true, if the object is a number, or can be converted to a number
* @group String
* @category Categorization
*/
export declare function isNumeric(input: unknown): input is number | string;