Skip to content

M_CodeJam_Option_1_op_Equality

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

Option(T).Equality Operator

Equality operator.

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

Syntax

C#

public static bool operator ==(
	Option<T> left,
	Option<T> right
)

VB

Public Shared Operator = ( 
	left As Option(Of T),
	right As Option(Of T)
) As Boolean

F#

static let inline (=)
        left : Option<'T> * 
        right : Option<'T>  : bool

Parameters

 

left
Type: CodeJam.Option(T)
Left operand.
right
Type: CodeJam.Option(T)
Right operand.

Return Value

Type: Boolean
True, if left equals right.

See Also

Reference

Option(T) Class
CodeJam Namespace

Clone this wiki locally