Returns
Promise<boolean>
Whether the user is currently signed in.
function isSignedIn(): Promise<boolean>;
Promise<boolean>
Whether the user is currently signed in.
const signedIn = await isSignedIn();
if (signedIn) {
console.log("User is signed in");
}
Was this page helpful?