Adding isBlank method (#89)

* added isBlank method, along with junit test and readme update

* removing local files

* adding gitignore with Eclipse specific files ignored

* removed unused imports from Strman.java and split tests out to match current test convention
This commit is contained in:
Andy Deese
2017-05-20 06:57:21 +05:30
committed by Shekhar Gulati
parent cf1d373442
commit d04e679b07
4 changed files with 44 additions and 2 deletions
+13
View File
@@ -618,6 +618,19 @@ join(new String[]{"hello","world","123"}, ";")
// result => "hello;world;123")
```
## isBlank
isEmpty returns true if a string is blank or null and false otherwise.
```java
isBlank("")
// result => true)
isBlank(null)
// result => true)
isBlank("test")
// result => false)
```
## Inspiration
This library is inspired by [dleitee/strman](https://github.com/dleitee/strman).