Initial community commit
This commit is contained in:
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/table.contains.md
vendored
Normal file
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/table.contains.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Determines if an array contains a particular value.
|
||||
|
||||
```lua
|
||||
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.
|
||||
Reference in New Issue
Block a user