Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

CompareTo

func CompareTo(other: Instant) -> int

Declaring type: Instant
Module: System.Time
Assembly: System.Runtime.dll
Source file: Instant.rvn

Implements ComparableTo<Instant>.CompareTo

Compares this value with the other value; returns a negative integer, zero or a positive integer for less than, equal to or greater than.

Parameters

Name Type Description
other Instant The other value to compare.

Return value

Int32