Update readme.md
removed 2 Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
parent
ab471ab1c8
commit
57ba0376c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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, , ,]
|
const values = ['property1', '', null, 'property2', ' ', undefined, , ,]
|
||||||
|
|
||||||
values.filter(is.nonEmptyStringAndNotWhitespace)
|
values.filter(is.nonEmptyStringAndNotWhitespace)
|
||||||
//=> (2) ['property1', 'property2']
|
//=> ['property1', 'property2']
|
||||||
```
|
```
|
||||||
|
|
||||||
##### .emptyStringOrWhitespace(value)
|
##### .emptyStringOrWhitespace(value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue