ee.List.containsAll
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اگر لیست شامل تمام عناصر دیگر، صرف نظر از ترتیب باشد، مقدار true را برمیگرداند.
استفاده | برمی گرداند | List. containsAll (other) | بولی |
استدلال | تایپ کنید | جزئیات | این: list | فهرست کنید | |
other | فهرست کنید | |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e only if the original list contains every single element in the \u003ccode\u003eother\u003c/code\u003e list, ignoring element ordering.\u003c/p\u003e\n"],["\u003cp\u003eThis method compares two lists and provides a boolean indicating whether one completely encompasses the other.\u003c/p\u003e\n"],["\u003cp\u003eAccepts two arguments: the original list (\u003ccode\u003ethis: list\u003c/code\u003e) and the comparison list (\u003ccode\u003eother\u003c/code\u003e).\u003c/p\u003e\n"]]],["The `List.containsAll(other)` function checks if a list (`list`) contains all elements present in another list (`other`), irrespective of their order. It takes another list (`other`) as an argument. The function then returns a boolean value, `true` if all elements from `other` are present in `list`, and `false` otherwise.\n"],null,["# ee.List.containsAll\n\nReturns true if list contains all of the elements of other, regardless of order.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| List.containsAll`(other)` | Boolean |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |\n| `other` | List | |"]]