>wowhelm_
~/forever/addon-api/function/securecopy

securecopy

documented function · FrameScript
securecopy(value?, options?) : copy

Securely copies a Lua value. Tables are deep-copied with recursive and shared references preserved. Copied values receive the current execution taint.

──ARGUMENTS
value
LuaValueReference, optional (The Lua value to copy.)
options
SecureCopyOptions, optional (Optional settings controlling value copying behavior. If omitted, default secure copy options are used.)
──RETURNS
copy
LuaValueReference (The copied value. For tables, recursive and shared references within the copied graph are preserved.)
──DETAILS
Secure Hooks Allowed
false
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.