issecurevariable
functionimplementedavailable in: camelot
Returns true if the specified variable is secure.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
tbl | table? | table to check the the key in; if omitted, defaults to the globals table (_G). |
variable | string | string key to check the taint of. Numbers will be converted to a string; other types will throw an error. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | isSecure | boolean | true if the table[variable] key is secure, false if it is tainted. |
| 2 | taint | string? | name of the addon that tainted the table field; an empty string if tainted by a macro; nil if secure. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.