Octra libraries - v2.0.0
Preparing search index...
@octra/utilities
removeEmptyProperties
Function removeEmptyProperties
removeEmptyProperties
<
T
>
(
obj
:
T
,
options
?:
{
removeEmptyStrings
?:
boolean
;
removeNull
?:
boolean
;
removeUndefined
?:
boolean
;
}
,
)
:
T
removes all empty values from an given object.
Type Parameters
T
Parameters
obj
:
T
options
:
{
removeEmptyStrings
?:
boolean
;
removeNull
?:
boolean
;
removeUndefined
?:
boolean
;
}
= ...
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Octra libraries - v2.0.0
Loading...
removes all empty values from an given object.