Add is.emptyOrWhitespace()

This commit is contained in:
Brandon Smith 2017-10-16 20:50:51 -04:00 committed by Brandon Smith
parent 615932d6c2
commit c19204fd9c
3 changed files with 13 additions and 0 deletions

View file

@ -182,6 +182,10 @@ Returns `true` if `value` is an odd integer.
Returns `true` if `value` is falsy or an empty string, array, object, map, or set.
##### .emptyOrWhitespace(value)
Returns `true` if `is.empty(value)` or a string that is all whitespace.
##### .any(predicate, ...values)