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

API Browser

Member group

Equals

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

Overloads / Variants

Equals

func Equals(other: string, comparison: StringComparison) -> bool

Source file: String.rvn

Compares non-null text using the specified policy; unknown modes fault.

Parameters

Name Type Description
other String
comparison StringComparison

Return value

Boolean

Equals

func Equals(other: string) -> bool

Source file: String.rvn

Implements EquatableTo<String>.Equals

Tests Unicode canonical equivalence without changing either string.

Parameters

Name Type Description
other String

Return value

Boolean

Equals

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

Source file: String.rvn

Overrides Object.Equals

Compares text by Unicode canonical equivalence, preserving original UTF-8 bytes.

Parameters

Name Type Description
other Object?

Return value

Boolean