Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 274 Bytes

ends_with.md

File metadata and controls

17 lines (9 loc) · 274 Bytes

ends_with

boolean ends_with(string source, string suffix)

Returns true if the source string ends with the suffix string, otherwise false.

It is a type error if

  • the provided source is not a string, or

  • the provided suffix is not a string

Examples