OCLOperators add
No edit summary
m ((username removed) (log details removed): Moving to Documentation namespace)
(No difference)

Revision as of 21:20, 20 December 2023

This page was created by Lars.olofsson@mdriven.net on 2018-10-28. Last edited by Stephanie@mdriven.net on 2025-02-10.

.add ( object : T )

Adds the object to a sequence, for example, an association.

Expression Result
self.<association of type T>.add(<object : T>) The object has been added to the existing association

Note! Add changes the sequence or association. If you want to append (add) an object to a sequence and return the result (without changing the underlying data), use ->append.