ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.List.indexOf
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
তালিকায় উপাদানের প্রথম উপস্থিতির অবস্থান প্রদান করে, অথবা যদি তালিকায় উপাদান না থাকে তাহলে -1।
ব্যবহার | রিটার্নস | List. indexOf (element) | পূর্ণসংখ্যা |
যুক্তি | টাইপ | বিস্তারিত | এই: list | তালিকা | |
element | অবজেক্ট | |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 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,["# ee.List.indexOf\n\nReturns 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 | |"]]