rocket_dyn_templates::minijinja::tests

Function is_sequence

Source
pub fn is_sequence(v: Value) -> bool
Expand description

Checks if this value is a sequence

{{ [1, 2, 3] is sequence }} -> true
{{ 42 is sequence }} -> false