io.frontroute.ops.DirectiveOfOptionOps.scala Maven / Gradle / Ivy
package io.frontroute
package ops
class DirectiveOfOptionOps[A](underlying: Directive[Option[A]]) {
@inline def mapOption[R](f: A => R): Directive[Option[R]] = underlying.map(_.map(f))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy