Kotlin implementation of Groovy Truth
#Example
if("".isTrue()) //false
if(" ".isTrue()) //false
if("hello, world".isTrue()) //true
Maven
You must configure your pom.xml
file using JCenter repository
<repository>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
</repository>
<dependency>
<groupId>com.joelws</groupId>
<artifactId>groothy</artifactId>
<version>1.1</version>
</dependency>
Gradle
repositories {
jcenter()
}
compile 'com.joelws:groothy:1.1'