minijinja::tests

Function is_iterable

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

Checks if this value can be iterated over.

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