Available functions

cache.invalidate

Removes the instance’s cached wrapper entry.

cache.iscached

Checks whether the underlying instance pointer has a cache entry.

cache.replace

Maps the old underlying instance key to the new wrapper in the cache.

cache.validate

Adds the supplied wrapper to the cache if no entry exists.

cloneref

Creates another wrapper referring to the same underlying instance.

compareinstances

Compares native instance pointers.