Skip to content

ends_with

Checks if a string ends with a specified substring.

ends_with(x:string, suffix:string) -> bool

The ends_with function returns true if x ends with suffix and false otherwise.

from {x: "hello".ends_with("lo")}
{x: true}

starts_with