isChatType()
@gravity-rail/sdk / isChatType
Function: isChatType()
isChatType(
value):value is ChatType
Type guard to check if a string is a valid ChatType.
Parameters
value
string
Returns
value is ChatType
@gravity-rail/sdk / isChatType
isChatType(
value):value is ChatType
Type guard to check if a string is a valid ChatType.
string
value is ChatType