You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jwl-applet/src/uni_modules/lime-shared/isNumber/index.ts

9 lines
349 B

1 year ago
// @ts-nocheck
/**
*
* @param value number string
* @returns NaN true false
*/
export function isNumber(value: number | string): boolean {
return typeof value === 'number' && !isNaN(value);
}