stapp-validate
Version:
Form validation module for stapp - modular state manager
11 lines • 450 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var reselect_1 = require("reselect");
exports.isValidatingSelector = function () {
return reselect_1.createSelector(function (state) { return state.validating; }, function (validating) {
return validating
? Object.keys(validating).some(function (key) { return validating[key]; })
: false;
});
};
//# sourceMappingURL=selectors.js.map