isNewUser
Stentor API Reference / stentor-request/src / isNewUser
Function: isNewUser()
isNewUser(
context):boolean
Defined in: packages/stentor-request/src/SystemConditionalCheck.ts:28
Returns true if the user is new.
This will be true for the duration of the user's first session, not just the first interaction.
It looks for the session storage key SESSION_STORAGE_NEW_USER = "new_user" to exist and be true.
Parameters​
context​
Returns​
boolean