Whether ChemPal may show notifications.
True when the permission is granted
await hasNotificationPermission(); // false Copy
await hasNotificationPermission(); // false
export async function hasNotificationPermission(): Promise<boolean> { return chrome.permissions.contains(NOTIFICATIONS);} Copy
export async function hasNotificationPermission(): Promise<boolean> { return chrome.permissions.contains(NOTIFICATIONS);}
Whether ChemPal may show notifications.