Skip to content

M_CodeJam_ValueOneOf_4_op_Equality

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

ValueOneOf(T1, T2, T3, T4).Equality Operator

Equality operator.

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

Syntax

C#

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

VB

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

F#

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

Parameters

 

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

Return Value

Type: Boolean
true if left equals to right

See Also

Reference

ValueOneOf(T1, T2, T3, T4) Structure
CodeJam Namespace

Clone this wiki locally