11<!-- for main -->
2-
3- [ ![ Download] ( https://img.shields.io/badge/Download-3.2 .0-%23007ec6 )] ( https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.2 .0 )
2+ <!--
3+ [](https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.3 .0)
44[](http://opensource.org/licenses/Apache2.0)
55[](https://github.com/robstoll/kbox/actions/workflows/build-ubuntu.yml)
66[](https://github.com/robstoll/kbox/actions/workflows/build-windows.yml)
7-
7+ -->
88<!-- for a specific release -->
9- <!--
10- [](https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.2 .0)
9+
10+ [ ![ Download] ( https://img.shields.io/badge/Download-3.3 .0-%23007ec6 )] ( https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.3 .0 )
1111[ ![ Apache license] ( https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg )] ( http://opensource.org/licenses/Apache2.0 )
12- -->
1312
1413# KBox
1514
1615KBox is a very small but useful utility library for Kotlin (JVM, Android and JS) providing functions which are missing
17- in the stdlib such as:
18-
19- - [ failIf] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/failIf.kt )
20- - [ prefix takeIf/takeUnless] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/takeIf.kt )
21- - [ letIf/runIf/alsoIf/applyIf] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/xyzIf.kt )
22- - [ blankToNull] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/blankToNull.kt )
23- - [ isNotNullNorEmpty/Blank] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/isNotNullAndNot.kt )
24- - [ identity] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/kotlin/ch/tutteli/kbox/identity.kt )
25- - [ Tuple4(Like) - Tuple9(Like)] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox )
16+ in the stdlib and help in making code more readable such as:
17+
18+ - [ failIf] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/failIf.kt )
19+ - [ prefix takeIf/takeUnless] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/takeIf.kt )
20+ - [ letIf/runIf/alsoIf/applyIf] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/xyzIf.kt )
21+ - [ blankToNull] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/blankToNull.kt )
22+ - [ isNotNullNorEmpty/Blank] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/isNotNullAndNot.kt )
23+ - [ identity] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/kotlin/ch/tutteli/kbox/identity.kt )
24+ - [ Tuple4(Like) - Tuple9(Like)] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox )
2625 (including functions mapA1 - mapA9, append, glue)
27- - [ Triple/Pair.mapFirst/Second/Third] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox/tupleMap.kt#L12 )
28- - [ toVararg] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox/toVararg.kt ) , [ mapVararg] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox/mapVararg.kt ) , [ varargToList (glue)] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox/varargToList.kt )
26+ - [ Triple/Pair.mapFirst/Second/Third] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox/tupleMap.kt#L12 )
27+ - [ toVararg] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox/toVararg.kt ) , [ mapVararg] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox/mapVararg.kt ) , [ varargToList (glue)] ( https://github.com/robstoll/kbox/tree/v3.3.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox/varargToList.kt )
2928
3029and more, see the [ Documentation] ( https://robstoll.github.io/kbox/kdoc/ ) for a full list.
3130
@@ -36,7 +35,7 @@ KBox is published to maven central.
3635```
3736repositories { mavenCentral() }
3837dependencies {
39- implementation("ch.tutteli.kbox:kbox:3.2 .0")
38+ implementation("ch.tutteli.kbox:kbox:3.3 .0")
4039}
4140```
4241
0 commit comments