MDrivenWiki
Log in

OclIsInvalid

From MDrivenWiki
Revision as of 13:28, 7 December 2022 by Stephanie (talk | contribs)

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

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