Function: assertStreamShareResponse()
assertStreamShareResponse(
value):asserts value is StreamShareResponse
Validates an endpoint response and narrows its type.
Parameters
value
unknown
Returns
asserts value is StreamShareResponse
Throws
StreamShareProtocolError when the response is invalid.