LensSpec
Constructors
Properties
Functions
Link copied to clipboard
open override fun defaulted(name: String, default: OUT, description: String?, metadata: Map<String, Any>): Lens<IN, OUT>
Make a concrete Lens for this spec that falls back to the default value if no value is found in the target.
open override fun defaulted(name: String, default: LensExtractor<IN, OUT>, description: String?, metadata: Map<String, Any>): Lens<IN, OUT>
Make a concrete Lens for this spec that falls back to another lens if no value is found in the target.