On this page
Class scala.UnliftOps
| Supertypes |
|---|
Concrete methods
Source
def unlift: PartialFunction[A, B]
Converts an optional function to a partial function.
| Example | Unlike Function.unlift, this UnliftOps.unlift method can be used in extractors. |
|---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/Function1$$UnliftOps.html