readConsent
function readConsent(options): null | StoredConsentDefined in: storage.ts:10
Read the stored consent record from document.cookie.
Returns null on the server, when no cookie is set, or when the cookie is malformed.
Parameters
| Parameter | Type |
|---|---|
options | StorageOptions |
Returns
null | StoredConsent