ee.List.flatten
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
هر فهرست فرعی را در یک لیست واحد مسطح می کند.
استفاده | برمی گرداند | List. flatten () | فهرست کنید |
استدلال | تایپ کنید | جزئیات | این: list | فهرست کنید | |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eFlattens a nested list (list containing sublists) into a single, flat list containing all the elements.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eflatten\u003c/code\u003e function operates on a given list and transforms it into a new list with all sublist elements merged into the top level.\u003c/p\u003e\n"],["\u003cp\u003eIt simplifies list structures by removing hierarchy and presenting all elements in a sequential order.\u003c/p\u003e\n"]]],["The `List.flatten()` function transforms a list containing sublists into a single, flattened list. It takes one argument, `this: list`, which represents the list to be flattened. The function returns a new `List` object containing all elements from the original list and its sublists, now merged into a single level. No other input parameters or customization options are available.\n"],null,["# ee.List.flatten\n\nFlattens any sublists into a single list.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| List.flatten`()` | List |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |"]]