UIFont.Equality(UIFont, UIFont) Operator

Definition

Compares two UIFont objects for value equality.

public static bool operator ==(UIKit.UIFont f1, UIKit.UIFont f2);
public static bool operator ==(UIKit.UIFont? f1, UIKit.UIFont? f2);
static member ( = ) : UIKit.UIFont * UIKit.UIFont -> bool

Parameters

f1
UIFont

The first font to compare.

f2
UIFont

The second font to compare.

Returns

true if the two fonts are equal; otherwise, false.

Remarks

This can be used from a background thread.

Applies to