UNPKG
overmind-forms
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
Forms implementation for overmind
github.com/garth/overmind-forms
garth/overmind-forms
overmind-forms
/
lib
/
isFormValid.js
4 lines
•
276 B
JavaScript
View Raw
1
2
3
4
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isFormValid
=
form
=>
!
Object
.
keys
(form).
find
(
fieldName
=>
fieldName !==
'isValid'
&&
typeof
form[fieldName] ===
'object'
&& !form[fieldName].
isValid
);
//# sourceMappingURL=isFormValid.js.map