• Strips all falsy and empty {} from a given object. Returns a new object with only truthy values. Sourced from below but modified to include checks for empty object and ignoring keys. https://www.w3resource.com/javascript-exercises/javascript-array-exercise-47.php

    Type Parameters

    • T extends Object

    Parameters

    • Optional obj: T
      Optional
    • Optional ignoreKeys: string[]
      Optional

    Returns undefined | T

Generated using TypeDoc