Skip to main content

Function: isChatType()

isChatType(value): value is ChatType

Defined in: packages/sdk/src/constants/chat-types.ts:59

Type guard to check if a string is a valid ChatType.

Parameters

value

string

Returns

value is ChatType