OclIsUndefined () : Boolean
(Created page with "Returns true if self is equal to invalid or null.")
 
(Automatically adding template at the end of the page.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns true if self is equal to invalid or null.
Returns true if self is equal to invalid or null.
{| class="wikitable"
!Expression
!Result
|-
|let anObject : String = null in anObject.oclIsUndefined()
|true
|-
|let anObject : String = invalid in anObject.oclIsUndefined()
|true
|-
|let anObject : String = 'null' in anObject.oclIsUndefined()
|false
|}
[[Category:OCL Boolean Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:44, 10 February 2024

Returns true if self is equal to invalid or null.

Expression Result
let anObject : String = null in anObject.oclIsUndefined() true
let anObject : String = invalid in anObject.oclIsUndefined() true
let anObject : String = 'null' in anObject.oclIsUndefined() false
This page was edited 114 days ago on 02/10/2024. What links here