Function rocket_dyn_templates::minijinja::filters::int

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

Converts a value into an integer.

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