UNPKG

@juststarting00/minimal-ts-app

Version:

A minimal TypeScript library that uses NPM. See README for further info

25 lines 768 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NumberAnalyzer = void 0; var NumberAnalyzer = /** @class */ (function () { function NumberAnalyzer() { } NumberAnalyzer.prototype.isNumber = function (num) { return isNaN(num); }; NumberAnalyzer.prototype.isOdd = function (num) { return num % 2 === 1; }; NumberAnalyzer.prototype.isEven = function (num) { return num % 2 === 0; }; NumberAnalyzer.prototype.isNegative = function (num) { return num < 0; }; NumberAnalyzer.prototype.isPositive = function (num) { return num > 0; }; return NumberAnalyzer; }()); exports.NumberAnalyzer = NumberAnalyzer; //# sourceMappingURL=NumberAnalyzer.js.map