Returns
|null
| User
The currently signed-in user, or null if no user is signed in.
function getCurrentUserSync():
| null
| User;
null
| User
The currently signed-in user, or null if no user is signed in.
const user = getCurrentUserSync();
Was this page helpful?