調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >isDraggable
isDraggable() 関数
指定されたオブジェクトが IDraggable かどうかを返します。
署名:
export declare function isDraggable(obj: any): obj is IDraggable;
パラメータ
戻り値:
obj が IDraggable である
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-12 UTC。"],[[["The `isDraggable()` function determines if a given object implements the `IDraggable` interface."],["It accepts any object as input (`obj`) and returns a boolean indicating whether the object is draggable."],["If the object is draggable, it is treated as an `IDraggable` type within the function's scope."]]],["The `isDraggable()` function determines if an object is of the `IDraggable` type. It accepts a single parameter, `obj` of any type, and returns a boolean indicating whether `obj` conforms to the `IDraggable` interface. The function's core purpose is to check the object's type against `IDraggable`. It is declared as an exported function.\n"]]