christophsturm
03/11/2021, 9:29 AMdata class Recipe(val id: Long?, val name: String, val description: String?) {
companion object {
fun find(field: KProperty1<Recipe, *>) {}
}
}
this works:
Recipe.find(field = Recipe::id)
and this is red:
Recipe.find(field = ::id)
christophsturm
03/11/2021, 9:30 AMlistOf("aaa", "bbb").map(String::toLowerCase)
uli
03/11/2021, 11:16 AMchristophsturm
03/11/2021, 11:18 AM