← ZIO Prelude docs

SafeFunction

zio.prelude.SafeFunction
See theSafeFunction companion class
object SafeFunction

Attributes

Companion
class
Source
SafeFunction.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[In, Out](f: In => Out): SafeFunction[In, Out]

Constructs a safe function from an ordinary Scala function.

Constructs a safe function from an ordinary Scala function.

Attributes

Source
SafeFunction.scala