This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/table.foreachi.md
2021-03-12 22:10:24 +01:00

384 B

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.

Return Value

None.

Availability

Premake 5.0 or later.