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

size () : Integer

Returns the number of items in a collection.

Expression Result
Set{1,2,4}->size() 3

Not to be confused with length that works on strings