Function rocket_dyn_templates::minijinja::tests::is_endingwith
source ยท pub fn is_endingwith(v: Cow<'_, str>, other: Cow<'_, str>) -> bool
Expand description
Checks if the value is ending with a string.
{{ "foobar" is endingwith("bar") }} -> true
{{ "foobar" is endingwith("foo") }} -> false