api

http4k / org.http4k.lens / MultiLensSpec / optional

optional

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

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