Function: isWsSpotConnection()
ts
function isWsSpotConnection(data: WsFormattedMessage): boolean;Use type guards to narrow down types with minimal efforts.
The file is organised by Typeguards starting with WsFormattedMessage typeguards in the first half and WsRawMessage typeguards in the second half.
Parameters
| Parameter | Type |
|---|---|
data | WsFormattedMessage |
Returns
boolean