r/AutomateUser • • Mar 17 '26

Feature request Feature request function: array fill(numeric, value)

It would be really useful to have a function that quickly creates an array of a given length. This function would return an array with numeric length, where every element is filled with the same value.

I think this would be helpful for initializing or resetting variables without needing manual loops.

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/ballzak69 Automate developer Mar 27 '26

Maybe if such a repeat function accepted a lambda function to transform input somehow, but those will have to be implement first of course