IsWebSocket()
Syntax
Result = IsWebSocket(#WebSocket)Description
Tests if the given WebSocket number is a valid and correctly initialized WebSocket object.
Parameters
#WebSocket The WebSocket object to test.
Return value
Returns nonzero if the WebSocket is valid, zero otherwise.
Remarks
This function is bulletproof and can be used with any value. This is the correct way to ensure a WebSocket object is still available.
See Also
CloseWebSocket()
Supported OS
All