Whether s ends with suffix. An empty suffix always matches.
s
suffix
ends_with :: (s: string, suffix: string) -> bool
assert(ends_with("filename.txt", ".txt")); assert(!ends_with("txt", "name.txt"));