• Get a list of used declarations for e.g. purposes. It can also return an empty array if the given declaration does not have any items/vendors.

    Parameters

    • declaration: "purposes" | "specialPurposes" | "features" | "specialFeatures" | "dataCategories"
    • gvl: GVL
    • model: TCModel
    • filterBy: TcfDeclarationFilter
    • sorted: boolean = false

    Returns (Feature | Purpose | DataCategory)[]