Operator 演算子

==(_:_:)

Indicates whether two move command directions are equal.

Declaration 宣言

static func == (a: MoveCommandDirection, b: MoveCommandDirection) -> Bool

Return Value 戻り値

A Boolean value that’s set to true if the two move command directions are equal.

Parameters パラメータ

lhs

The first move command direction to compare.

rhs

The second move command direction to compare.

See Also 参照

Comparing Directions