mapInner

fun <R : Any> mapInner(f: (A) -> R): Directive<R>

Transform the inner payload with a function, returning a new directive object.