api

http4k / org.http4k.lens / BiDiMultiLensSpec / optional

optional

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

Make a concrete Lens for this spec that looks for an optional list of values in the target.