調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >[ブロック] >getVars
Block.getVars() メソッド
このブロックが参照するすべての変数を返します。
署名:
getVars(): string[];
戻り値:
string[]
変数 ID のリスト。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[null,null,["最終更新日 2024-08-21 UTC。"],[[["`getVars()` is a method within the `Block` class of Blockly that retrieves all variables associated with a specific block."],["It returns an array of strings, where each string represents the unique identifier of a variable used by the block."]]],[]]