isLoggedIn

Syntax

isLoggedIn(userId)

Arguments

userId a string indicating a user name. It can only contain letters, underscores, or numbers. It cannot start with numbers. The length cannot exceed 30 characters.

Details

Return a Boolean value indicating whether the specified user is logged in.

Examples

isLoggedIn(`AlexSmith)
// output
false