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

CanBeAccessedInContext

documented function · SimpleFrameScriptObjectAPI
CanBeAccessedInContext() : canAccess

Returns whether the current Lua execution context has permission to access this object.

──RETURNS
canAccess
bool (False if access is denied, such as when execution is tainted and the object is forbidden or enforcing access restrictions.)
──DETAILS
Secret Returns For Aspect
["Enum.SecretAspect.ObjectSecurity"]
──VERSION HISTORY

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