public endsWith(suffixes as IList<String>) as Boolean:
Returns true if this string ends with at least one suffix from the provided list.
True when one of the suffixes matches the end of this string.
assert "image.png".endsWith([".jpg", ".png", ".gif"]) assert "image.png".endsWith(i:[".jpg", ".png", ".gif"])