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