-
-
Notifications
You must be signed in to change notification settings - Fork 618
table.indexof
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Returns the key or index of a value within a table.
table.indexof(arr, value)
arr
is a table containing indexed elements. value
is the value for which to search.
The key or index of the value if it is present in the table; nil otherwise.
Premake 5.0 or later.