Empty

@implicitNotFound("Could not find an instance of Empty[${S}]")
trait Empty[S] extends Serializable

The Empty typeclass provides a Prism that can tell whether a structure is empty.

Type parameters:
S

the source of a Prism

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def empty: Prism[S, Unit]