OCLOperators includes
No edit summary
(Updated Edited template to July 12, 2025.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Does the collection include the object
<message>Write the content here to display this box</message>
[[Category:OCLOperators]]
Returns true if object is contained in self, false otherwise.
{| class="wikitable"
!Expression
!Result
|-
|Sequence{2.3}->includes(2.1)
|false
|-
|Sequence{2.0}->includes(2)
|true
|}
[[Category:OCL Collection Operators]]
{{Edited|July|12|2025}}

Latest revision as of 05:57, 20 January 2025

This page was created by Alexandra on 2017-08-13. Last edited by Edgar on 2025-01-20.

Returns true if object is contained in self, false otherwise.

Expression Result
Sequence{2.3}->includes(2.1) false
Sequence{2.0}->includes(2) true