@statesync/persistence / isBroadcastChannelSupported
Function: isBroadcastChannelSupported()
ts
function isBroadcastChannelSupported(): boolean;Defined in: persistence/src/cross-tab.ts:156
Checks whether the BroadcastChannel API is available in the current environment.
Returns false in Node.js, Web Workers without BroadcastChannel support, and other restricted environments.
Returns
boolean
true if BroadcastChannel is defined globally.
