UNPKG

@technobuddha/library

Version:
9 lines (8 loc) 318 B
/** * 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;