Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 | 7x 10x 4x | export const isAnonymousSession = (token) => token && token.scope && token.scope.includes('anonymous_id'); export const isUserSession = (token) => token && token.scope && token.scope.includes('customer_id'); export const getAccessToken = (token) => token ? token.access_token : null; |