ee.List.lastIndexOfSubList
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, लिस्ट में टारगेट की आखिरी एंट्री की शुरुआती पोज़िशन दिखाता है. अगर टारगेट की कोई एंट्री नहीं है, तो यह -1 दिखाता है.
इस्तेमाल | रिटर्न |
---|
List.lastIndexOfSubList(target) | पूर्णांक |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: list | सूची | |
target | सूची | |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["The `lastIndexOfSubList` function searches a list for the last occurrence of a target sublist. It takes two arguments: the main list and the target sublist. The function returns an integer representing the starting index of the target's last occurrence within the list. If the target is not found, it returns -1. The function is designed for lists and sublists.\n"],null,[]]