Cache
cache.invalidate
<nil> cache.invalidate(<Instance> object)
Deletes object
from the Instance cache. Effectively invalidates object
as a reference to the underlying Instance.
cache.iscached
<boolean> cache.iscached(<Instance> object)
Checks whether object
exists in the Instance cache.
cache.replace
<nil> cache.replace(<Instance> object, <Instance> newobject)
Replaces object
in the Instance cache with newObject
.
cloneref
<Instance> cloneref(<Instance> object)
Returns a copy of the Instance reference to object
. This is useful for managing an Instance without directly referencing it.
compareinstances
<boolean> compareinstances(<Instance> a, <Instance> b)
Returns whether objects a
and b
both reference the same Instance.
Last updated