scoresaber-reloaded-v2/src/utils/numberUtils.ts
2023-10-19 14:17:55 +01:00

10 lines
210 B
TypeScript

/**
* Checks if the given value is an number.
*
* @param value the number
* @returns true if value is a number, otherwise false
*/
export function isNumber(value: any): boolean {
return !isNaN(value);
}