hasTemplateSequence function

bool hasTemplateSequence(
  1. String template
)

True when template holds at least one unescaped ${ ... } or %{ ... } sequence — Terraform evaluates it; a string without one is a plain value ($${ and %%{ are the escaped, literal forms).

Implementation

bool hasTemplateSequence(String template) =>
    templateSequenceBodies(template).isNotEmpty;