Broadcast
このコンテンツはまだ日本語訳がありません。
Broadcast:
object
Defined in: packages/core/src/types.ts:45
Companion object for the Broadcast type. Provides lightweight structural type guard.
Type Declaration
Section titled “Type Declaration”
readonlyis: (value) =>value is Broadcast
Structural type guard for Broadcast.
Parameters
Section titled “Parameters”unknown
the value to check
Returns
Section titled “Returns”value is Broadcast
true if value has the Broadcast shape (type === “broadcast”)
Example
Section titled “Example”if (Broadcast.is(value)) { ... }