Skip to main content

Function: selectFirstUnreadKey()

selectFirstUnreadKey(vars): string | null

Defined in: selectors.ts:11

Key of the oldest entry the player has not seen, or null when the chat is fully read.

Parameters

vars

ChatVars

Returns

string | null

Remarks

This is the anchor a chat view scrolls to and the point an "unread" divider goes above.