Returns true (1) if value is in table, false (nil) otherwise. Note: this is not a standard Lua function, but was added by Blizzard to simplify table searches. function tContains(table, item) local index = 1; while table[index] do if ( item == table[index] ) then return 1; end index = index + 1; end return nil; end
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| dbkwik:wowwiki/pro...iPageUsesTemplate | |
| abstract |
|