UNPKG

435 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var ForEach = /** @class */ (function () {
4 function ForEach(rules, nullable) {
5 this.rules = rules;
6 this.nullable = nullable;
7 }
8 return ForEach;
9}());
10exports.ForEach = ForEach;
11function forEach(rules, notNull) {
12 if (notNull === void 0) { notNull = false; }
13 return new ForEach(rules, !notNull);
14}
15exports.forEach = forEach;