NotNilValue Class
From The Oxygene Language Wiki
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
| | |
|---|---|
| constructor(aValue: Value) | Create a new instance of this class |
| constructor | Create a new instance of this class |
Properties
| | |
|---|---|
| SubValue: Value | The actual value to check for nil before calling something on it |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Value Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To