Returns the length of the raw template.
This function does not generate a change.
template.len()
None
Returns the length of the raw template.
This code uses
len()to return the length of the template:
tpl = template("Hello {name}!");
tpl.len();
Return value in JSON format
13