Operator 演算子

==(_:_:)

Indicates whether two button roles are equal.

Declaration 宣言

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

Return Value 戻り値

A Boolean value that’s set to true if the two button roles are equal.

Parameters パラメータ

a

The first button role to compare.

b

The second button role to compare.

See Also 参照

Comparing Roles