MDrivenWiki
Log in

Ocl*OclAny*

From MDrivenWiki
Revision as of 07:42, 7 November 2019 by Peter (talk | contribs) (Created page with "=== <> ( object : OclAny ) : Boolean === Returns true if ''self'' is a different object from ''object''. {| class="wikitable" !Expression !Result |- |let a : String =...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<> ( object : OclAny ) : Boolean

Returns true if self is a different object from object.

Expression Result
let a : String = 'a', b : String = 'a' in a <> b false
let a : Integer = 2, b : Real = 2.0 in a <> b false
let a : Integer = -2, b : Integer = 2 in a <> b true