Counts the number of non-empty and non-ignored values in the given filter data object.

  • Parameters

    • filterData: Record<string, unknown>

      The filter data object.

    • Optionalignore: (key: string, value: any) => boolean

      The function to determine if a key-value pair should be ignored. It should accept a key and a value, and return true if the pair should be ignored, or false otherwise. Default value is a function that always returns false.

    Returns number

    • The count of non-empty and non-ignored values in the filter data object.