v0.13.7

table.contains

functionimplementedavailable in: camelot

Returns true if any value in the table compares equal to the specified value.

signaturewowlua
function table.contains(    table: table,    value: any?): boolean

Parameters

nametypedescription
tabletableThe table to search.
valueany?The value for which to search.

Returns

containsValue · boolean · True if any entry in the table has the specified value.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (LuaTableExtensions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.