You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jason Perkins edited this page May 30, 2015
·
2 revisions
Walk the elements of an array and call the specified function for each non-nil element.
table.foreachi(arr, fn)
Parameters
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.