user

suspend fun Journey.user(): User?(source)

Function to retrieve the user.

If cookies are available, it prepares a new user and returns it. If no user is found and no cookies are available, it returns null.

Return

The user if found, otherwise null.