Any.Def.Empty

trait Empty[-A]

A given Any.Def.Empty instance for a specific type specifies that instance can be checked for emptiness.

Source
Empty.scala
class java.lang.Object
trait scala.Matchable
class Any

Def

def value_isEmpty(v: A): Boolean

Empty check

Empty check

Returns true if provided value should be considered empty

Source
Empty.scala