Returns true if the value is Some.
Namespace:
SasaAssembly: Sasa (in Sasa.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function IsSome(Of T) ( _ o As Option(Of T) _ ) As Boolean |
| C# |
|---|
public static bool IsSome<T>( Option<T> o ) |
| Visual C++ |
|---|
public: generic<typename T> static bool IsSome( Option<T>^ o ) |
| JavaScript |
|---|
|
Parameters
- o
- Type: Sasa..::.Option<(Of <(T>)>)
The optional value.
Type Parameters
- T
- The type of the optional value.