EnvironmentKey
This models the key used to get a value out of the Environment using the standard Lens mechanic. Note that if your values contain commas, either use a EnvironmentKey.(mapping).multi.required()/optional()/defaulted() to retrieve the entire list, or override the comma separator in your initial Environment.
Functions
Link copied to clipboard
Link copied to clipboard
open override fun defaulted(name: String, default: String, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String>
open override fun defaulted(name: String, default: LensExtractor<Environment, String>, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String>
Link copied to clipboard
inline fun <T : Enum<T>> EnvironmentKey.enum(caseSensitive: Boolean = true): BiDiLensSpec<Environment, T>
Link copied to clipboard
Link copied to clipboard
fun <NEXT> mapWithNewMeta(nextIn: (String) -> NEXT, nextOut: (NEXT) -> String, paramMeta: ParamMeta): BiDiLensSpec<Environment, NEXT>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard