Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

knestedproperty Travis Build

Nested property util for kotlin. This extention methods allows you to get names and values of nested propertys in a typesafe manner.

Installation

TODO

Usage

class Foo {
  val bar = Bar()
}

class Bar {
    val value = "FooBar"
}
println((Foo::bar / Bar::value).name) //prints: bar.value

val foo = Foo()
println((Foo::bar / Bar::value).value(foo) //prints: "FooBar"

About

Nested property util for kotlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages