סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > isSelectable
הפונקציה isSelectable()
בדיקה אם האובייקט הנתון הוא ISelectable.
Signature:
export declare function isSelectable(obj: object): obj is ISelectable;
פרמטרים
פרמטר |
סוג |
תיאור |
obj |
אובייקט |
|
החזרים:
obj הוא ISelectable
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-05-16 (שעון 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"]],["עדכון אחרון: 2025-05-16 (שעון UTC)."],[[["The `isSelectable()` function determines if a given object implements the `ISelectable` interface."],["This function accepts an object as input and returns a boolean indicating whether the object is selectable or not."],["The signature is `export declare function isSelectable(obj: Object): obj is ISelectable;` which indicates it is type-guarded to ISelectable."]]],["The `isSelectable()` function determines if an object is an `ISelectable`. It takes a single parameter, `obj`, of type `Object`. The function's signature is `export declare function isSelectable(obj: Object): obj is ISelectable;`. The function returns a boolean value indicating whether the provided object is of type `ISelectable`. The parameter description lacks further detail, but the type `Object` suggest it could be any data type.\n"]]