rocket_dyn_templates::minijinja::tests

Function is_string

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

Checks if this value is a string.

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