Operator 演算子

==(_:_:)

Indicates whether two font weights are equal.

Declaration 宣言

static func == (a: Font.Weight, b: Font.Weight) -> Bool

Return Value 戻り値

A Boolean value that’s set to true if the two font weights are equal.

Parameters パラメータ

a

The first font weight to compare.

b

The second font weight to compare.

See Also 参照

Comparing Font Weights フォントウェイトを比較する