UNPKG

voluptasmollitia

Version:
20 lines (11 loc) 704 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/analytics](./analytics.md) &gt; [isSupported](./analytics.issupported.md) ## isSupported() function This is a public static method provided to users that wraps four different checks: 1. Check if it's not a browser extension environment. 2. Check if cookies are enabled in current browser. 3. Check if IndexedDB is supported by the browser environment. 4. Check if the current browser context is valid for using IndexedDB.open(). <b>Signature:</b> ```typescript export declare function isSupported(): Promise<boolean>; ``` <b>Returns:</b> Promise&lt;boolean&gt;