調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >入力 >入力 >setCheck
接続の互換性を変更する。
署名:
setCheck(check: string | string[] | null): Input;
パラメータ
パラメータ |
型 |
説明 |
チェック |
文字列 |string[] |null |
互換性のある値の型、または値の型のリスト。すべての型に互換性がある場合は null。 |
戻り値:
入力
変更される入力(チェーンを可能にするため)。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-11 UTC。
[null,null,["最終更新日 2024-10-11 UTC。"],[[["The `inputs.Input.setCheck()` method is used to define the type of values that a connection on a block can accept."],["It takes a string, an array of strings, or null as an argument, representing the allowed data type(s) or accepting all types if null."],["The method returns the modified Input object for chaining purposes, enabling developers to perform multiple operations on it sequentially."]]],[]]