core-cde
Version:
15 lines • 412 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Utils = void 0;
class Utils {
/**
* Определяет является ли строка числом
* @param str строка
*/
static isNumber(str) {
const num = parseInt(str, null);
return !isNaN(num);
}
}
exports.Utils = Utils;
//# sourceMappingURL=Utils.js.map