Update readme.md

removed 2

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
Ivan Katliarchuk 2022-02-22 18:24:39 +00:00 committed by GitHub
parent ab471ab1c8
commit 57ba0376c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ Returns `true` if `is.string(value)` and if it's a `string` that is not a whites
const values = ['property1', '', null, 'property2', ' ', undefined, , ,]
values.filter(is.nonEmptyStringAndNotWhitespace)
//=> (2) ['property1', 'property2']
//=> ['property1', 'property2']
```
##### .emptyStringOrWhitespace(value)