ends_with multimethod

Methods

ends_with(haystack:Str, needle:Str) Source: stdlib.ngs:4534
Check whether a string ends with another string

Returns

Bool

Example

"abcd".ends_with("cd")  # true
"ab".ends_with("cdab")  # false