minijinja::filters

Function int

Source
pub fn int(value: Value) -> Result<Value, Error>
Expand description

Converts a value into an integer.

{{ "42"|int == 42 }} -> true