ui.Map.remove
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अगर मैप पर दिया गया आइटम मौजूद है, तो उसे हटाता है.
हटाए गए आइटम को दिखाता है. अगर आइटम को मैप में नहीं जोड़ा गया है, तो शून्य दिखाता है.
इस्तेमाल | रिटर्न |
---|
Map.remove(item) | ऑब्जेक्ट |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.map | ui.Map | ui.Map इंस्टेंस. |
item | ऑब्जेक्ट | वह आइटम जिसे हटाना है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003e\u003ccode\u003eremove()\u003c/code\u003e deletes a specific item from the ui.Map if it's present.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns the deleted item, or null if the item wasn't in the map.\u003c/p\u003e\n"],["\u003cp\u003eIt's called on a ui.Map instance and takes the target item as an argument.\u003c/p\u003e\n"]]],[],null,["# ui.Map.remove\n\n\u003cbr /\u003e\n\nRemoves the given item from the map, if it exists.\n\n\u003cbr /\u003e\n\nReturns the removed item or null if it hadn't been added to the map.\n\n| Usage | Returns |\n|--------------------|---------|\n| Map.remove`(item)` | Object |\n\n| Argument | Type | Details |\n|----------------|--------|----------------------|\n| this: `ui.map` | ui.Map | The ui.Map instance. |\n| `item` | Object | The item to remove. |"]]