Property Resolver
Provides the value of a property
Functions
Link copied to clipboard
fun <T> PropertyResolver<T>.cached(cache: MutableMap<String, T> = mutableMapOf()): PropertyResolver<T>
Caches the value of the property in a map
Link copied to clipboard
fun <T> PropertyResolver<T>.getOrDefaultToParent(key: String, defaultValue: (key: String, parent: T?) -> T = { _, parent ->
parent ?: throw NoSuchElementException("key: $key is not set")
}): T?