Home > @vsf-enterprise/commercetools-api > isAnonymousSession
# isAnonymousSession() function
Helper for checking if given token is an anonymous session
Signature:
export declare function isAnonymousSession(token?: Token): boolean;
# Parameters
Parameter | Type | Description |
---|---|---|
token | Token | commercetools access token |
Returns:
boolean
Boolean indicating if given token is an anonymous session