🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators OclType
This page was created by Peter on 2019-11-11. Last edited by Edgar on 2025-08-31.

When used on an object, you get the type of the object.

Use asString to get the name of type - i.e. the class name if it is a class.

For example:

self.oclType.asString