OclIsInvalid

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
This page was edited more than 6 months ago on 06/17/2024. What links here