Returns whether this path ends with the given suffix.
Example:
var path = new Path ("/tmp/file.txt");
assert (path.endsWith (".txt") == true);
| suffix |
the suffix to check. |
|
true if the path ends with the suffix. |