is_logged_in() function
Check if the current user is logged in.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state |
State
|
The current user state as received in any callback. |
required |
Returns:
Type | Description |
---|---|
bool
|
True if state is associated with an authenticated user. |