UNPKG
cross-validator
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
0.0.1-snapshot
A Cross Script Validator, node, browser, java
github.com/4data/cross-validator
4data/cross-validator
cross-validator
/
src
/
validator
/
validators
/
notEmpty.js
13 lines
(11 loc)
•
235 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
(
function
(
) {
'use strict'
;
var
util =
require
(
'../util'
);
/** *
@author
Guilherme M Gregio <guilherme
@gregio
.net> */
var
notEmpty =
function
(
item
) {
return
!util.
isEmpty
(item.
value
); };
module
.
exports
= notEmpty; })();