Returns whether a variable is secure (and if not, which addon tainted it)
See also Secure execution utility functions, Debugging and Profiling functions.
Signature:
issecure,
taint
=
issecurevariable([table,]
"variable")
Arguments:
table
- A table to be used when checking table elements (table
)variable
- The name of a variable to check. In order to check the status of a table element, you should specify the table, and then the key of the element (string
)
Returns:
issecure
- 1 if the variable is secure; otherwise nil (1nil
)taint
- Name of the addon that tainted the variable, or nil if the variable is secure (string
)