Skip to content

talkcontrol


talkcontrol / common/services/session / isValidSessionId

Function: isValidSessionId() ​

isValidSessionId(sessionId): sessionId is string

Defined in: src/common/services/session.ts:23

Return true if the value is a well-formed session id (UUID)

Parameters ​

sessionId ​

unknown

value received from the URL or the socket handshake

Returns ​

sessionId is string

true if the session id is valid