description

# operator == method

bool operator == (Object other)
override

Returns true if other is a `String` with the same sequence of code units.

This method compares each individual code unit of the strings. It does not check for Unicode equivalence. For example, both the following strings represent the string 'Amélie', but due to their different encoding, are not equal:

    'Am\xe9lie' == 'Ame\u{301}lie'; // false

The first string encodes 'é' as a single unicode code unit (also a single rune), whereas the second string encodes it as 'e' with the combining accent character '◌́'.

## Implementation

    bool operator ==(Object other);