"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const debug_1 = require("../../../../debug");
const If_1 = require("../../../../system/f/control/If");
const system_1 = require("../../../util/system");
const filter = new If_1.default(system_1.system);
filter.play();
false && (0, debug_1.watchUnitAndLog)(filter);
filter.push('a', 0);
filter.push('b', true);
assert.equal(filter.take('a if b'), 0);
filter.push('a', 0);
filter.push('b', false);
assert.equal(filter.take('a if b'), undefined);
filter.push('a', true);
filter.push('b', true);
assert.equal(filter.take('a if b'), true);
//# sourceMappingURL=If.js.map