SHARE
TWEET

Untitled

a guest Sep 20th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (isSupported){
  2.             let userHasConditions = (account?.healthConditions.count ?? 0) > 0
  3.             if !userHasConditions{
  4.                 cleanUserContext()
  5.                 displayUserHasNoConditionsMessage()
  6.                 return
  7.             }
  8.            
  9.             didAuthenticate()
  10.             return
  11.         }
  12.        
  13.         cleanUserContext()
  14.         displayUnsupportedUserTypeMessage()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top