OclIsInvalid
(Adding message template to the top of the page) |
(Replacing message template with parser tag) |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
=== oclIsInvalid () : Boolean === | === oclIsInvalid () : Boolean === | ||
Returns true if ''self'' is equal to *invalid*. | Returns true if ''self'' is equal to *invalid*. |
Revision as of 07:53, 17 June 2024
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 |