-
-
Notifications
You must be signed in to change notification settings - Fork 619
table.foreachi
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Walk the elements of an array and call the specified function for each non-nil element.
table.foreachi(arr, fn)
arr
is an table containing indexed values. fn
is the function to call for each non-nil element. The value (not the index) will be passed as the only argument.
None.
Premake 5.0 or later.