1
1
<!-- for main -->
2
-
3
- [ ![ Download] ( https://img.shields.io/badge/Download-2.2 .0-%23007ec6 )] ( https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/2.2 .0 )
2
+ <!--
3
+ [](https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.0 .0)
4
4
[](http://opensource.org/licenses/Apache2.0)
5
5
[](https://github.com/robstoll/kbox/actions?query=workflow%3AUbuntu+branch%3Amain)
6
6
[](https://github.com/robstoll/kbox/actions?query=workflow%3AWindows+branch%3Amain)
7
-
7
+ -->
8
8
9
9
<!-- for a specific release -->
10
- <!--
11
- [](https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/2.2 .0)
10
+
11
+ [ ![ Download] ( https://img.shields.io/badge/Download-3.0 .0-%23007ec6 )] ( https://central.sonatype.com/artifact/ch.tutteli.kbox/kbox/3.0 .0 )
12
12
[ ![ Apache license] ( https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg )] ( http://opensource.org/licenses/Apache2.0 )
13
- -->
13
+
14
14
15
15
# KBox
16
16
KBox is a very small but useful utility library for Kotlin (JVM, Android and JS) providing functions which are missing
17
17
in the stdlib such as:
18
- - [ failIf] ( https://github.com/robstoll/kbox/blob/main /src/commonMain/kotlin/ch/tutteli/kbox/failIf.kt )
19
- - [ takeIf] ( https://github.com/robstoll/kbox/blob/main /src/commonMain/kotlin/ch/tutteli/kbox/takeIf.kt )
20
- - [ blankToNull] ( https://github.com/robstoll/kbox/blob/main /src/commonMain/kotlin/ch/tutteli/kbox/blankToNull.kt )
21
- - [ isNotNullAndNotEmpty/Blank] ( https://github.com/robstoll/kbox/blob/main /src/commonMain/kotlin/ch/tutteli/kbox/isNotNullAndNot.kt )
22
- - [ identity] ( https://github.com/robstoll/kbox/blob/main /src/commonMain/kotlin/ch/tutteli/kbox/identity.kt )
23
- - [ Tuple4(Like) - Tuple9(Like)] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox )
18
+ - [ failIf] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/kotlin/ch/tutteli/kbox/failIf.kt )
19
+ - [ takeIf] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/kotlin/ch/tutteli/kbox/takeIf.kt )
20
+ - [ blankToNull] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/kotlin/ch/tutteli/kbox/blankToNull.kt )
21
+ - [ isNotNullAndNotEmpty/Blank] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/kotlin/ch/tutteli/kbox/isNotNullAndNot.kt )
22
+ - [ identity] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/kotlin/ch/tutteli/kbox/identity.kt )
23
+ - [ Tuple4(Like) - Tuple9(Like)] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox )
24
24
(including functions mapComponentX, append, glue)
25
- - [ Triple/Pair.mapFirst/Second/Third] ( https://github.com/robstoll/kbox/tree/main /src/commonMain/generated/kotlin/ch/tutteli/kbox/tupleMap.kt#L12 )
25
+ - [ Triple/Pair.mapFirst/Second/Third] ( https://github.com/robstoll/kbox/tree/v3.0.0 /src/commonMain/generated/kotlin/ch/tutteli/kbox/tupleMap.kt#L12 )
26
26
27
27
and more, see the [ Documentation] ( https://robstoll.github.io/kbox/kdoc/ ) for a full list.
28
28
@@ -33,7 +33,7 @@ KBox is published to maven central.
33
33
```
34
34
repositories { mavenCentral() }
35
35
dependencies {
36
- implementation("ch.tutteli.kbox:kbox:2.2 .0")
36
+ implementation("ch.tutteli.kbox:kbox:3.0 .0")
37
37
}
38
38
```
39
39
0 commit comments