OCLOperators includes
(Created page with "Does the collection include the object")
 
(Replacing message template with parser tag)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Does the collection include the object
<message>Write the content here to display this box</message>
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|2024}}

Latest revision as of 07:51, 17 June 2024

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
This page was edited 95 days ago on 06/17/2024. What links here