None Literal¶
None represents the absence of a value and corresponds to null in C#. It is used with T | None types for .NET interop:
Note: For Sharpy-native optionals, use
None()(with parentheses) withT?(which isOptional[T]). BareNoneis the C# null literal forT | None. See Optional Type.
Implementation
- ✅ Native - None → null.