Function rocket_dyn_templates::minijinja::tests::is_test

source ·
pub fn is_test(state: &State<'_, '_>, name: &str) -> bool
Expand description

Checks if a test with a given name is available.

{% if 'greaterthan' is test %}...{% endif %}