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'

compile "com.joelws:groothy:1.1"

Related Libraries

kxdate

Kotlin extensions for Java 8 java.time API

Last updated 3 mins ago

vavr-kotlin

Vavr integration for Kotlin

Last updated 3 mins ago

kapsule

Minimalist dependency injection library for Kotlin.

Last updated 3 mins ago

ktunits

Simple unit conversion library for Kotlin

Last updated 3 mins ago

cakeparse

Simple parser combinator library for Kotlin

Last updated 3 mins ago