🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
Accessing objects and navigating meta-levels in code


Single-link

A single link at runtime is implemented in an IObject as an IObjectReference, i.e., a link that points to another object.

Then one can write:

If ((destinationMember as IObjectReference).ObjectInstance.asObject == null)

I.e., does the member, as a single link, have an object on the other end?

Note! ObjectInstance is always non-null; it is the object holding information about the link-end. It can be a nullObjectImpl, which is an object.