minijinja::tests

Function is_divisibleby

Source
pub fn is_divisibleby(v: &Value, other: &Value) -> bool
Expand description

Return true if the value is divisible by another one.

{{ 42 is divisibleby(2) }} -> true