Skip to main content

lib/emptyChecks

Api Code Documentation / Exports / lib/emptyChecks

Table of contents#

Functions#

Functions#

isEmpty#

isEmpty<T>(value): value is undefined | null

Type parameters#

Name
T

Parameters#

NameType
valueundefined | null | T

Returns#

value is undefined | null

Defined in#

src/lib/emptyChecks.ts:1


isNotEmpty#

isNotEmpty<T>(value): value is T

Type parameters#

Name
T

Parameters#

NameType
valueundefined | null | T

Returns#

value is T

Defined in#

src/lib/emptyChecks.ts:7