<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=4138537&amp;fmt=gif">
Skip to content
English
  • There are no suggestions because the search field is empty.

.oclIsUndefined()

Method checks if the given value is undefined ie null or invalid.

Description of the method

Description: oclIsUndefined() method checks if the given value is undefined ie null or invalid.
Available for: any
Parameters: -
Return type: boolean

 Example

Context: HeaderType1
OCL: self.Dt.oclIsUndefined()
Description: The example rule checks if the value of <Dt> is undefined.

 

The XML snippet below would pass this check.

<Dt>null</Dt>

The other snippet below however would not pass this check.

<Dt>28.05.2018</Dt>