NSNumber.Compare(NSNumber) NSNumber.Compare(NSNumber) Method

Definition

Compares this to another number and returns a value indicating whether it is less than, equal, or greater than this.

[Foundation.Export("compare:")]
public virtual nint Compare (Foundation.NSNumber otherNumber);
abstract member Compare : Foundation.NSNumber -> nint
override this.Compare : Foundation.NSNumber -> nint

Parameters

otherNumber
NSNumber NSNumber

Returns

Applies to