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