Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-05 UTC."],[[["\u003cp\u003eThis method finds the first occurrence of a specified element within a list.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the position (index) of the element if found, or -1 if the element is not present in the list.\u003c/p\u003e\n"],["\u003cp\u003eIt's used with the syntax \u003ccode\u003eList.indexOf(element)\u003c/code\u003e, where 'list' is the target list and 'element' is the item to search for.\u003c/p\u003e\n"]]],[],null,["Returns the position of the first occurrence of element in list, or -1 if list does not contain element.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| List.indexOf`(element)` | Integer |\n\n| Argument | Type | Details |\n|--------------|--------|---------|\n| this: `list` | List | |\n| `element` | Object | |"]]