M_CSharpx_MaybeExtensions_IsNothing__1 - adutton/commandline GitHub Wiki
Returns true iffits argument is of the form Nothing(T).
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static bool IsNothing<T>(
this Maybe<T> maybe
)VB
<ExtensionAttribute>
Public Shared Function IsNothing(Of T) (
maybe As Maybe(Of T)
) As BooleanC++
public:
[ExtensionAttribute]
generic<typename T>
static bool IsNothing(
Maybe<T>^ maybe
)F#
[<ExtensionAttribute>]
static member IsNothing :
maybe : Maybe<'T> -> bool
- maybe
- Type: CSharpx.Maybe(T)
- T
Type: Boolean
In Visual Basic and C#, you can call this method as an instance method on any object of type Maybe(T). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).