ee.List.repeat
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה רשימה חדשה שמכילה את הערך שחוזר על עצמו מספר הפעמים שצוין.
שימוש | החזרות |
---|
ee.List.repeat(value, count) | רשימה |
ארגומנט | סוג | פרטים |
---|
value | אובייקט | הערך שרוצים לחזור עליו. |
count | מספר שלם | מספר הפעמים שצריך לחזור על הפעולה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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. |"]]