-
-
Notifications
You must be signed in to change notification settings - Fork 621
table.replace
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Replace all instances of value
with replacement
in an array. Array elements are modified in place.
table.replace(tbl, value, replacement)
tbl
is the table to be modified. value
is the value to be replaced, and replacement
is the new value to use.
Returns tbl
, modified in place with the replacement values.
Premake 5.0 or later.