@expandorg/validation
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "@expandorg/validation", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Expand UI validation library", | ||
@@ -19,3 +19,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "fd6a67e3410cced55be2eaa3e1e6052e38985d09" | ||
"gitHead": "f5be260c67a9e9c5a9a3c79b04d76c7e236e0039" | ||
} |
@@ -7,3 +7,2 @@ // @flow | ||
isRequired: (value: any) => typeof value !== 'undefined' && value !== '', | ||
isNotEmpty: (value: any) => typeof value !== 'undefined' && value !== '', | ||
isEmail: (value: any) => typeof value !== 'undefined' && isEmail(value), | ||
@@ -10,0 +9,0 @@ isTrue: (value: any) => value === true, |
18969
46