UNPKG

@didomi/iabtcf-cmpapi

Version:

Ensures other in-page digital marketing technologies have access to CMP transparency and consent information for the iab. Transparency and Consent Framework (TCF).

10 lines (9 loc) 240 B
export class SupportedVersions { static set_ = new Set([0, 2, undefined, null]); static has(value) { if (typeof value === 'string') { value = Number(value); } return this.set_.has(value); } }