UNPKG

validatees

Version:

✅ Validation library for ES6+ modules

13 lines (12 loc) 438 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.isTruthy = void 0; const isFalsy_1 = __importDefault(require("./isFalsy")); function isTruthy(value) { return false === (0, isFalsy_1.default)(value); } exports.isTruthy = isTruthy; exports.default = isTruthy;