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

API Browser

Member group

Equals

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

Overloads / Variants

Equals

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

Source file: Character.rvn

Compares graphemes using an explicit text policy.

Parameters

Name Type Description
other Character The grapheme to compare.
comparison StringComparison Canonical, Ordinal byte identity, or OrdinalIgnoreCase simple-fold scalar identity.

Return value

Boolean

True when the entire graphemes match under the selected policy.

Remarks

Unknown modes fault with RuntimeError. Simple folding does not normalize or expand. Compares Character storage directly without converting it to String; original bytes are preserved.

Equals

func Equals(other: Character) -> bool

Source file: Character.rvn

Implements EquatableTo<Character>.Equals

Tests canonical equivalence of graphemes without allocating text.

Parameters

Name Type Description
other Character

Return value

Boolean

Equals

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

Source file: Character.rvn

Overrides Object.Equals

Parameters

Name Type Description
other Object?

Return value

Boolean