다음과 같이 사용할 수 있습니다:
const user = api.getCurrentUser() if(user) { return user.username; }
자세한 내용은 여기를 참고하세요: