Takes an object and remove all undefined properties, preserving nulls.

  • Type Parameters

    • T extends object

    Parameters

    • obj: undefined | null | T
    • Optional options: ICleanerOptions

    Returns undefined | null | T