Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.List.getArray
Stay organized with collections
Save and categorize content based on your preferences.
Returns the array at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a array, an error will occur.
Usage | Returns | List.getArray(index) | Array |
Argument | Type | Details | this: list | List | |
index | Integer | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-05 UTC.
[null,null,["Last updated 2024-06-05 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eList.getArray()\u003c/code\u003e function retrieves the array located at a specific position (index) within a list.\u003c/p\u003e\n"],["\u003cp\u003eNegative index values can be used to access arrays by counting backward from the end of the list.\u003c/p\u003e\n"],["\u003cp\u003eAn error will be thrown if the value at the specified index is not an array.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a list and an integer representing the index as input.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the function is the array found at the specified index within the list.\u003c/p\u003e\n"]]],[],null,["# ee.List.getArray\n\nReturns the array at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a array, an error will occur.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| List.getArray`(index)` | Array |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `index` | Integer | |"]]