()
| 96 | * @returns the current user if authenticated, else `null` |
| 97 | */ |
| 98 | export function getAuthenticatedUser(): User | null { |
| 99 | return Auth?.currentUser ?? null; |
| 100 | } |
| 101 | |
| 102 | export function getAnalytics(): AnalyticsType { |
| 103 | return firebaseGetAnalytics(app); |
no outgoing calls
no test coverage detected