OCLOperators includesAll
No edit summary
No edit summary
Line 1: Line 1:
Returns true if all the elements in the parameter list are included in the list.
Returns true if all the elements in the parameter list are included in the list.
Returns true if all element of *c2* are contained in ''self'', false otherwise.
{| class="wikitable"
!Expression
!Result
|-
|Sequence{2.3, 5.2, 'a', 3, null}->includesAll(Set{3, null})
|true
|-
|Sequence{2.3, 5.2, 'a', 3}->includesAll(Set{3, null})
|false
|}

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 all the elements in the parameter list are included in the list.

Returns true if all element of *c2* are contained in self, false otherwise.

Expression Result
Sequence{2.3, 5.2, 'a', 3, null}->includesAll(Set{3, null}) true
Sequence{2.3, 5.2, 'a', 3}->includesAll(Set{3, null}) false