Add is.emptyOrWhitespace() (#21)

This commit is contained in:
Brandon Smith 2017-10-17 16:46:58 -04:00 committed by Giora Guttsait
parent 615932d6c2
commit cdd4829edf
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)