@nhost/react
Version:
Nhost React library
12 lines • 354 B
TypeScript
/**
* Use the hook `useUserIsAnonymous` to see if the user is anonymous or not.
*
* @example
* ```tsx
* const userIsAnonymous = useUserIsAnonymous();
* ```
*
* @docs https://docs.nhost.io/reference/react/use-user-is-anonymous
*/
export declare const useUserIsAnonymous: () => boolean | undefined;
//# sourceMappingURL=useUserIsAnonymous.d.ts.map