Function minijinja::filters::int

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

Converts a value into an integer.

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