Search
Preparing search index...
The search index is not available
@netgrif/components-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@netgrif/components-core
IsEmptyPipe
Class IsEmptyPipe
Hierarchy
IsEmptyPipe
Implements
PipeTransform
Index
Constructors
constructor
Methods
transform
Constructors
constructor
new
Is
Empty
Pipe
(
)
:
IsEmptyPipe
Returns
IsEmptyPipe
Methods
transform
transform
(
value
:
string
|
Object
|
unknown
[]
|
Set
<
unknown
>
|
Map
<
unknown
,
unknown
>
)
:
boolean
Check if is value is empty.
Parameters
value:
string
|
Object
|
unknown
[]
|
Set
<
unknown
>
|
Map
<
unknown
,
unknown
>
Returns
boolean
True for:
null
undefined
Array if Array.length === 0
String if string.length === 0
Object with no keys
(Set | Map).size === 0 otherwise false.
Exports
Is
Empty
Pipe
constructor
transform
Generated using
TypeDoc
Check if is value is empty.