Open mrDarcyMurphy opened 9 years ago
var foo = 'bar'
is.lengthy(foo) // true - length greater than 0
A cute addition.
Also add is.longerThan
and is.shorterThan
with the same pattern as greaterThan
and lessThan
, but specifically for length.
add minlength
and maxlength
as aliases.
Wrap javascript's stock length attribute for usage in
the-thing-is
.