Bonus. "áá".allEqual() The first `á` is one code p...
# stdlib
d
Bonus. "áá".allEqual() The first
á
is one code point (U+00E1). The second one is
a
followed by the combining acute accent (U+0301). ✅
true
❌
false
✅ 4
❌ 9
p
Would a BMP and a TIFF with identical pixels be considered "equal"?
d
I think that, depending on your task, you would want one behavior or the other.
p
allEquivalent would be useful or allEqualBy(GraphemeEqivalence)