UNPKG
valence-test
Version:
latest (1.0.0)
1.0.0
Test applications running in Valence and 5250 screens with Fusion5250
valence-test
/
install
/
template
/
util
/
helper.js
12 lines
(11 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
module
.
exports
= {
/** * check if is empty *
@param
value
*
@returns
{
boolean
} */
isEmpty :
(
value
) =>
{
return
(value ==
null
) || (value ===
''
) || (toString.
call
(value) ===
'[object Array]'
&& value.
length
===
0
); } };