Function: isCastingState()
function isCastingState(state: CastConnectionState): boolean;
Defined in: packages/cast/src/use-cast-state.ts:90
The single definition of "casting" shared by useIsCasting and any non-React caller, so the two can never drift.
Parameters
| Parameter | Type | Description |
|---|---|---|
state | CastConnectionState | A connection state, e.g. from Cast.getCastState(). |
Returns
boolean