isLoggedIn
Syntax
isLoggedIn(userId)
Details
Check whether the specified user is logged in.
Parameters
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.
Returns
Return a Boolean scalar.
Examples
isLoggedIn(`AlexSmith)
// output: false
