http4k / org.http4k.lens / BiDiLensSpec / map
fun <NEXT> map(nextIn: (OUT) -> NEXT, nextOut: (NEXT) -> OUT):
BiDiLensSpec
<IN, NEXT>
Create another BiDiLensSpec which applies the bi-directional transformations to the result. Any resultant Lens can be used to extract or insert the final type from/into a target.