minijinja::tests

Function is_number

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

Checks if this value is a number.

{{ 42 is number }} -> true
{{ "42" is number }} -> false