Skip to content

M_CodeJam_OneOf_6_op_Equality

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

OneOf(T1, T2, T3, T4, T5, T6).Equality Operator

Equality operator.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static bool operator ==(
	OneOf<T1, T2, T3, T4, T5, T6> left,
	OneOf<T1, T2, T3, T4, T5, T6> right
)

VB

Public Shared Operator = ( 
	left As OneOf(Of T1, T2, T3, T4, T5, T6),
	right As OneOf(Of T1, T2, T3, T4, T5, T6)
) As Boolean

F#

static let inline (=)
        left : OneOf<'T1, 'T2, 'T3, 'T4, 'T5, 'T6> * 
        right : OneOf<'T1, 'T2, 'T3, 'T4, 'T5, 'T6>  : bool

Parameters

 

left
Type: CodeJam.OneOf(T1, T2, T3, T4, T5, T6)
Left parameter.
right
Type: CodeJam.OneOf(T1, T2, T3, T4, T5, T6)
Right parameter

Return Value

Type: Boolean
true if left equals to right

See Also

Reference

OneOf(T1, T2, T3, T4, T5, T6) Class
CodeJam Namespace

Clone this wiki locally