OclIsInvalid
No edit summary
No edit summary
Line 1: Line 1:
=== oclIsInvalid () : Boolean ===
=== oclIsInvalid () : Boolean ===
Returns true if ''self'' is equal to *invalid*.
Returns true if ''self'' is equal to *invalid*.  
{| class="wikitable"
{| class="wikitable"
!Expression
!Expression

Revision as of 11:09, 28 February 2023

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