* Return `true` if the parameter is a number (or a number written as a string). * This version also accepts Arabic and Persian numbers. * * @param {*} n * @returns {boolean}
(n)
| 173 | * @returns {boolean} |
| 174 | */ |
| 175 | static isNumberOrArabic(n) { |
| 176 | const latinConvertedNumber = this.arabicToLatinNumbers(n, false, true, true); |
| 177 | return this.isNumber(latinConvertedNumber); |
| 178 | } |
| 179 | |
| 180 | /** |
| 181 | * Return `true` if the parameter is an integer (and not a float). |
no test coverage detected