Skip to main content

Home > @jsplumb/util > filterNull

filterNull() function#

Returns a copy of the given object that has no null values. Note this only operates one level deep.

Signature:

export declare function filterNull(obj: Record<string, any>): Record<string, any>;

Parameters#

ParameterTypeDescription
objRecord<string, any>

Returns:

Record<string, any>