UNPKG

patronum

Version:

☄️ Effector utility library delivering modularity and convenience

24 lines (23 loc) 428 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.and = and; var _effector = require("effector"); function and(...stores) { return (0, _effector.combine)({ and: [stores, values => { for (const value of values) { if (!value) { return false; } } return true; }, { skipVoid: false }], or: { sid: "-rbm5ks" } }); }