Creates new object excluding entries with specified values

  • Type Parameters

    • T extends Record<string, any>

    Parameters

    • xs: any[]

      Values to exclude

    • x: T

      Source object

    Returns T

    New object without entries containing specified values