UNPKG

guarder

Version:

Guarder provides simple validation logic to reduce clutter with inline guard statements

25 lines 1.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Guarder_1 = require("./Guarder"); exports.Guarder = Guarder_1.Guarder; const NullGuard_1 = require("./guards/NullGuard"); exports.NullGuard = NullGuard_1.NullGuard; const ZeroGuard_1 = require("./guards/ZeroGuard"); exports.ZeroGuard = ZeroGuard_1.ZeroGuard; const EmptyGuard_1 = require("./guards/EmptyGuard"); exports.EmptyGuard = EmptyGuard_1.EmptyGuard; const FalsyGuard_1 = require("./guards/FalsyGuard"); exports.FalsyGuard = FalsyGuard_1.FalsyGuard; const NumberGuard_1 = require("./guards/NumberGuard"); exports.NumberGuard = NumberGuard_1.NumberGuard; const ArgumentError_1 = require("./errors/ArgumentError"); exports.ArgumentError = ArgumentError_1.ArgumentError; const NegativeGuard_1 = require("./guards/NegativeGuard"); exports.NegativeGuard = NegativeGuard_1.NegativeGuard; const UndefinedGuard_1 = require("./guards/UndefinedGuard"); exports.UndefinedGuard = UndefinedGuard_1.UndefinedGuard; const WhitespaceGuard_1 = require("./guards/WhitespaceGuard"); exports.WhitespaceGuard = WhitespaceGuard_1.WhitespaceGuard; const GuardNotFoundError_1 = require("./errors/GuardNotFoundError"); exports.GuardNotFoundError = GuardNotFoundError_1.GuardNotFoundError; //# sourceMappingURL=index.js.map