Checks if a string ends with a specified substring.
ends_with(x:string, suffix:string) -> boolDescription
Section titled “Description”The ends_with function returns true if x ends with suffix and false
otherwise.
Examples
Section titled “Examples”Check if a string ends with a substring
Section titled “Check if a string ends with a substring”from {x: "hello".ends_with("lo")}{x: true}