cache.iscached
Returns true while the reference is in the instance cache, and false once cache.invalidate has removed it.
Signature
cache.iscached(instance: Instance): booleanParameters
instanceInstanceThe instance to look up.
Returns
boolean
Note
Example
local part = Instance.new("Part")
print(cache.iscached(part)) --> true
cache.invalidate(part)
print(cache.iscached(part)) --> false