با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > isSelectable
تابع isSelectable().
بررسی می کند که آیا شیء داده شده قابل انتخاب است یا خیر.
امضا:
export declare function isSelectable(obj: object): obj is ISelectable;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
obj | شی | |
برمی گرداند:
obj قابل انتخاب است
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-05-16 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[[["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"]]