KBox is a very small but useful utility library for Kotlin (JVM, Android and JS) providing functions which are missing in the stdlib such as:
- failIf
- takeIf
- blankToNull
- isNotNullAndNotEmpty/Blank
- identity
- Tuple4(Like) - Tuple9(Like)
(including functions mapComponentX, append, glue) - Triple/Pair.mapFirst/Second/Third
and more, see the Documentation for a full list.
KBox is published to maven central.
repositories { mavenCentral() }
dependencies {
implementation("ch.tutteli.kbox:kbox:2.1.0")
}
Visit https://robstoll.github.io/kbox/kdoc.
KBox is licensed under Apache 2.0.