コンテンツにスキップ

Broadcast

このコンテンツはまだ日本語訳がありません。

Broadcast: object

Defined in: packages/core/src/types.ts:45

Companion object for the Broadcast type. Provides lightweight structural type guard.

readonly is: (value) => value is Broadcast

Structural type guard for Broadcast.

unknown

the value to check

value is Broadcast

true if value has the Broadcast shape (type === “broadcast”)

if (Broadcast.is(value)) { ... }