This commit is contained in:
parent
dc22a89da1
commit
e3b37358b9
@ -1,13 +1,3 @@
|
|||||||
/**
|
|
||||||
* 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);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Formats a number to a string with commas
|
* Formats a number to a string with commas
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user