pub fn is_endingwith(v: Cow<'_, str>, other: Cow<'_, str>) -> bool
Available on crate feature
builtins
only.Expand description
Checks if the value is ending with a string.
{{ "foobar" is endingwith("bar") }} -> true
{{ "foobar" is endingwith("foo") }} -> false