ee.List.flatten
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, किसी भी सबलिस्ट को एक लिस्ट में बदल देता है.
इस्तेमाल | रिटर्न |
---|
List.flatten() | सूची |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: list | सूची | |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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 | |"]]