fun ensureTemplatedFieldExist(template: BaseTemplate<*, *>, field: String)

Ensures that field is defined by template

Parameters

template

the Template of the TemplatedNode where field should be used

field

a list of templated field names to check for existence

Throws

if any field is not defined by template