Parameter
A sequence of arguments that can be declared within a ParameterizeScope to make one of the values available.
Parameter builders are available as extensions on ParameterizeScope, making them straightforward to declare given some specified/listed/computed arguments:
val letter by parameter('a'..'z')
val primeUnder20 by parameterOf(2, 3, 5, 7, 11, 13, 17, 19)
val computedValue by parameter { lazilyComputedValues() }Content copied to clipboard