repeat()
Generates a dynamic array containing a series comprised of repeated numbers.
Syntax
repeat(
value,
count)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | bool , int , long , real , datetime , string or timespan |
✔️ | The value of the element in the resulting array. |
count | int |
✔️ | The count of the elements in the resulting array. |
Returns
If count is equal to zero, an empty array is returned. If count is less than zero, a null value is returned.
Examples
The following example returns [1, 1, 1]
:
T | extend r = repeat(1, 3)
Povratne informacije
https://aka.ms/ContentUserFeedback.
Uskoro: tokom 2024. postepeno ćemo ukidati probleme s uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zamijeniti ga novim sistemom povratnih informacija. Za više informacija, pogledajtePošalјite i prikažite povratne informacije za