monster.util.isLoggedIn()#

Syntax#

monster.util.isLoggedIn();

Return#

This method returns a Boolean.

Description#

This method checks if a user is currently logged in and returns a boolean as a result.

Examples#

if(monster.util.isLoggedIn()) { 
    // do something if user is logged in 
};

Edit this page here