toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-core
/
org.http4k.lens
/
LensBuilder
/
required
required
abstract
fun
required
(
name
:
String
,
description
:
String
?
=
null
,
metadata
:
Map
<
String
,
Any
>
=
emptyMap()
)
:
Lens
<
IN
,
OUT
>
Make a concrete Lens for this spec that looks for a required value in the target.