api

http4k / org.http4k.lens / BiDiLensSpec / optional

optional

open fun optional(name: String, description: String?): BiDiLens<IN, OUT?>

Make a concrete Lens for this spec that looks for an optional value in the target.