Skip to main content

Function: removeNullish()

removeNullish<T>(obj): T

Recursively removes all undefined and null values from an object

Type Parameters​

T​

T

Parameters​

obj​

T

Returns​

T