public endsWith(suffix as Char) as Boolean
Tests whether the last Unicode scalar equals the given character.
| Parameter | Description |
|---|---|
suffix | Character to test. |
False for an empty string; otherwise whether the character matches.
assert "Hello".endsWith('o')