Add is.empty()

This commit is contained in:
Kodie Grantham 2017-10-05 10:33:17 -05:00
parent ee8f5d16f8
commit af2ad0c819
3 changed files with 36 additions and 0 deletions

View file

@ -150,6 +150,11 @@ is.inRange(3, 10);
Check if `value` is `Infinity` or `-Infinity`.
##### .empty(value)
Returns `true` if `value` is an empty string, array, object, map, or set.
## FAQ
### Why yet another type checking module?