ee.List.repeat
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह एक नई सूची दिखाता है, जिसमें वैल्यू को count बार दोहराया गया है.
इस्तेमाल | रिटर्न |
---|
ee.List.repeat(value, count) | सूची |
आर्ग्यूमेंट | टाइप | विवरण |
---|
value | ऑब्जेक्ट | वह वैल्यू जिसे दोहराना है. |
count | पूर्णांक | दोहराने की संख्या. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-29 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eee.List.repeat()\u003c/code\u003e generates a new list by repeating a specified value a certain number of times.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts two arguments: the \u003ccode\u003evalue\u003c/code\u003e to be repeated and the \u003ccode\u003ecount\u003c/code\u003e representing the number of repetitions.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a new \u003ccode\u003eee.List\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# ee.List.repeat\n\nReturns a new list containing value repeated count times.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------|---------|\n| `ee.List.repeat(value, count)` | List |\n\n| Argument | Type | Details |\n|----------|---------|--------------------------------|\n| `value` | Object | The value to repeat. |\n| `count` | Integer | The number of times to repeat. |"]]