Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IsEmpty<T>

Determines if scalar or value is empty. Examples of empty values:

  • null
  • undefined
  • Empty string
  • Empty object
  • Empty array
  • Empty iterable
  • Boolean false
  • Number zero
  • Objects with size or length property set to zero

Type parameters

  • T

Hierarchy

  • IsEmpty

Implements

  • any

Index

Constructors

Methods

Constructors

constructor

Methods

isScalar

  • isScalar(): true

value

  • value(): boolean

Generated using TypeDoc