Overview
The store is a global state that can be used to access the consent manager's state.
[Error: Could not find section "overview" in ../shared/store/overview.mdx]
Usage
import { createConsentManagerStore } from 'c15t';
const store = createConsentManagerStore(consentManager);
const hasFunctionality = store.getState().has('functionality');
Returns
[Error: Could not find section "returns" in ../shared/store/overview.mdx]