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.contains.md
2021-03-12 22:10:24 +01:00

325 B

Determines if an array contains a particular value.

table.contains(arr, value)

Parameters

arr is a table containing indexed elements. value is the value for which to search.

Return Value

True if the array contains the value, false otherwise.

Availability

Premake 4.4 or later.