A Synchronous function returns isLoggedIn and MemberInfo (if logged in).
isLoggedIn
const fn = () => { const data = MemberSpace.getMemberInfo(); console.log(data); // either { isLoggedIn: true, memberInfo: {...} } // or { isLoggedIn: false } };
Last updated 3 years ago