NotNilValue Class

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


[Serializable]
NotNilValue = public class(Value)

Not Nil is an operator used in the Oxygene language. The expression on the left side is evaluated first, if it's nil, the right side won't be evaluated but instead returns nil right away. The result type is always the most common type that matches; when using this operator for methods with a valuetype result, the result is a nillable type.

Namespace: Cirrus Values


Members

Method
Description
constructor(aValue: Value)Create a new instance of this class
constructorCreate a new instance of this class


Properties

Property
Description
SubValue: ValueThe actual value to check for nil before calling something on it


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox