OclIsInvalid
Peter Mugabe (talk | contribs) (Created page with "=== oclIsInvalid () : Boolean === Returns true if ''self'' is equal to *invalid*. {| class="wikitable" !Expression !Result |- |let anObject : String = null in anObject.o...") |
No edit summary |
||
Line 14: | Line 14: | ||
|false | |false | ||
|} | |} | ||
[[Category:OCL]] |
Revision as of 13:28, 7 December 2022
This page was created by Peter on 2019-11-07. Last edited by Edgar on 2025-01-20.
oclIsInvalid () : Boolean
Returns true if self is equal to *invalid*.
Expression | Result |
---|---|
let anObject : String = null in anObject.oclIsInvalid() | false |
let anObject : String = invalid in anObject.oclIsInvalid() | true |
let anObject : String = 'null' in anObject.oclIsInvalid() | false |