@technobuddha/library
Version:
A large library of useful functions
9 lines (8 loc) • 318 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
*/
export declare function isNumeric(input: unknown): input is (number | string);
export default isNumeric;