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

API Browser

Member group

Equals

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

Overloads / Variants

Equals

func Equals(other: Range) -> bool

Source file: Range.rvn

Implements EquatableTo<Range>.Equals

Compares the two boundary indexes, independently of a collection length.

Parameters

Name Type Description
other Range

Return value

Boolean

Equals

virtual override func Equals(other: object?) -> bool

Source file: Range.rvn

Overrides Object.Equals

Compares a boxed value using the same distance and direction semantics.

Parameters

Name Type Description
other Object?

Return value

Boolean