klyn.String.endsWith
method
public endsWith(suffix as Char) as Boolean
Description

Tests whether the last Unicode scalar equals the given character.

Parameters
ParameterDescription
suffixCharacter to test.
Returns

False for an empty string; otherwise whether the character matches.

Example
assert "Hello".endsWith('o')