rocket_dyn_templates::minijinja::tests

Function is_float

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

Checks if this value is a float

{{ 42 is float }} -> false
{{ 42.0 is float }} -> true