Skip to content

Latest commit

 

History

History

gears-kotlin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

gears-kotlin

Version License

A set of gears for Kotlin.


Installation

Add the dependency:

repositories {
    mavenCentral()
}

dependencies {
    implementation("com.redmadrobot.gears:gears-kotlin:<version>")
}

The library was developed and tested with Kotlin 2.0.0

Usage

Gear Description
T.applyIf Applies the given block of modifications to the T if the condition is true
T.applyIfNotNull Applies the given block of modifications to the T if the value is not null

Contributing

Merge requests are welcome. For major changes, please open an issue first to discuss what you would like to change.