OclIsUndefined () : Boolean
(Created page with "Returns true if self is equal to invalid or null.")
 
No edit summary
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
|}

Revision as of 06:26, 27 March 2023

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 96 days ago on 06/17/2024. What links here