Operator GreaterThanOrEqual
GreaterThanOrEqual(Maybe<T>, Maybe<T>)
Returns true if m1 is greater than m2.
Declaration
public static bool operator >=(Maybe<T> m1, Maybe<T> m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Maybe<T> | m1 | A Maybe{T} instance. |
| Maybe<T> | m2 | A Maybe{T} instance. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if |
Remarks
An empty instance is considered the 'lowest possible value' and will never be greater than anything else.
GreaterThanOrEqual(Maybe<T>, T)
Returns true if m1 is greater than m2.
Declaration
public static bool operator >=(Maybe<T> m1, T m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Maybe<T> | m1 | A Maybe{T} instance. |
| T | m2 | A T instance. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if |
Remarks
An empty instance is considered the 'lowest possible value' and will always be lower than anything else.