IsEmpty

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](using ev: IsEmpty[T]): IsEmpty[T]

Givens

Givens

given arrayIsEmpty[T]: IsEmpty[Array[T]]
given seqIsEmpty[T]: IsEmpty[Seq[T]]

Inherited givens

given eitherIsEmpty[E, T]: IsEmpty[Either[E, T]]
Inherited from
IsEmptyLowPriority1
given listIsEmpty[T]: IsEmpty[List[T]]
Inherited from
IsEmptyLowPriority1
given optionIsEmpty[T]: IsEmpty[Option[T]]
Inherited from
IsEmptyLowPriority1
given stringIsEmpty: IsEmpty[String]
Inherited from
IsEmptyLowPriority2

Extensions

Extensions

extension [T](t: T)
def isEmpty(using evidence$1: IsEmpty[T]): Boolean