OCLOperators includes
No edit summary
No edit summary
Line 1: Line 1:
Does the collection include the object
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:OCLOperators]]
[[Category:OCLOperators]]

Revision as of 05:43, 22 November 2019

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