Function dilla_renderer::renderable::is_renderable
source · pub fn is_renderable(value: &Value) -> bool
Expand description
Checks if a MiniJinja Value contains a renderable element.
This function takes an immutable reference to a minijinja::Value and checks if it contains a renderable element.
Arguments
- value - An immutable reference to the minijinja::Value that needs to be checked.
Returns
- true if the value contains a renderable element, otherwise false.