Signature: endsWith(s: string, suffix: string) -> bool

Description: True if s ends with suffix.

Parameters

Returns: bool

Example

endsWith("image.png", ".png")  // true