Skip to content

M_CSharpx_EitherExtensions_IsRight__2

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

EitherExtensions.IsRight(TLeft, TRight) Method

Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static bool IsRight<TLeft, TRight>(
	this Either<TLeft, TRight> either
)

VB

<ExtensionAttribute>
Public Shared Function IsRight(Of TLeft, TRight) ( 
	either As Either(Of TLeft, TRight)
) As Boolean

C++

public:
[ExtensionAttribute]
generic<typename TLeft, typename TRight>
static bool IsRight(
	Either<TLeft, TRight>^ either
)

F#

[<ExtensionAttribute>]
static member IsRight : 
        either : Either<'TLeft, 'TRight> -> bool 

Parameters

 

either
Type: CSharpx.Either(TLeft, TRight)

Type Parameters

 

TLeft
TRight

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Either(TLeft, TRight). 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).

See Also

Reference

EitherExtensions Class
CSharpx Namespace

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy