Contents

compare(_:)

Compares and returns the logical ordering to location.

Declaration

func compare(_ location: any NSTextLocation) -> ComparisonResult

Parameters

  • location:

    The location to compare the current location to.

Return Value

A ComparisonResult.