• Checks if a provided filter is empty. The filter can be a function, an object, a string, or undefined.

    Parameters

    • filter:
          | undefined
          | string
          | object
          | ((q: any) => any)

    Returns filter is undefined