property

fun property(name: String, prop: KProperty1<T, Any?>)(source)

Exposes a read-only Kotlin property under its own name.


Exposes a Kotlin property a script can also write.