Module "frontend-packages/cookie-consent-web-client/src/tcf/findUsedDeclarations"
Functions
findUsedDeclarations
- findUsedDeclarations(declaration: keyof Omit<Declarations, "stacks">, gvl: GVL, model: TCModel, filterBy: TcfDeclarationFilter): (Feature | Purpose)[]
-
Parameters
-
declaration: keyof Omit<Declarations, "stacks">
-
gvl: GVL
-
model: TCModel
-
Returns (Feature | Purpose)[]
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.