Operator 演算子

==(_:_:)

Indicates whether two colors are equal.

Declaration 宣言

static func == (lhs: Color, rhs: Color) -> Bool

Return Value 戻り値

A Boolean that’s set to true if the two colors are equal.

Parameters パラメータ

lhs

The first color to compare.

rhs

The second color to compare.

See Also 参照

Comparing Colors 色を比較する