Add is.emptyOrWhitespace() (#21)
This commit is contained in:
parent
615932d6c2
commit
cdd4829edf
3 changed files with 13 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue