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