إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.List.contains
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعرض هذه الدالة القيمة "صحيح" إذا كانت القائمة تحتوي على عنصر.
الاستخدام | المرتجعات |
---|
List.contains(element) | منطقي |
الوسيطة | النوع | التفاصيل |
---|
هذا: list | قائمة | |
element | عنصر | |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis method checks if a given element is present within a list.\u003c/p\u003e\n"],["\u003cp\u003eIt returns true if the element is found in the list, otherwise it returns false.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes the list and the element to search for as arguments.\u003c/p\u003e\n"]]],["The core function, `List.contains(element)`, checks for the presence of a specified element within a list. It accepts two arguments: the `list` itself (of type List) and the `element` (of type Object) to search for. The function returns a Boolean value, specifically `true` if the `element` exists in the `list`, and presumably `false` otherwise.\n"],null,["# ee.List.contains\n\nReturns true if list contains element.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| List.contains`(element)` | Boolean |\n\n| Argument | Type | Details |\n|--------------|--------|---------|\n| this: `list` | List | |\n| `element` | Object | |"]]