סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > קלט > קלט > setCheck
שינוי התאימות של חיבור.
Signature:
setCheck(check: string | string[] | null): Input;
פרמטרים
פרמטר |
סוג |
תיאור |
check |
מחרוזת | string[] | null |
סוג ערך תואם או רשימה של סוגי ערכים. המערכת תציג ערך של null אם כל הסוגים תואמים. |
החזרות:
קלט
הקלט שעבר שינוי (כדי לאפשר שרשור).
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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."]]],[]]