http4k / org.http4k.lens / PathLensSpec / map
fun <NEXT> map(nextIn: (OUT) -> NEXT):
PathLensSpec
<NEXT>
Create another PathLensSpec which applies the uni-directional transformation to the result. Any resultant Lens can only be used to extract the final type from a target path segment.