pub fn format(
args: Vec<ObjectExpression>,
call_span: Span,
) -> Result<ObjectExpression>Expand description
Format builtin function. It takes a string as first argument and a list of arguments to format.
If the number of arguments is not the same as the number of {} in the string, it will return an error.
ยงExample
println<format<"Hello {}"><["Awiteb"]>>;
// Hello Awiteb