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