調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >isCopyable
isCopyable() 関数
署名:
export declare function isCopyable(obj: any): obj is ICopyable<ICopyData>;
パラメータ
戻り値:
obj は ICopyable<ICopyData>
指定されたオブジェクトがコピー可能な場合、true を返します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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 `isCopyable()` function determines if an object implements the `ICopyable` interface and can therefore be copied."],["It takes one argument of any type and returns true if the object is copyable, false otherwise."],["Objects considered \"copyable\" adhere to the `ICopyable` interface, meaning they have a `toCopyData()` method for serialization."]]],["The `isCopyable()` function determines if an object can be copied. It accepts any object (`obj`) as a parameter. The function returns a boolean value, specifically `true` if the input object implements the `ICopyable` interface with `ICopyData`, indicating it supports copying. Otherwise it returns false. The function signature and the parameter type are defined.\n"]]