Twig does share similarities with the Emarsys Scripting Language, but there are important differences as well. Twig is a language used solely for email templates and uses functions only to substitute variables in the template (e.g. make all first names uppercase).
ESL does not support all Twig tags and filters, so you are advised to use this documentation and not include elements from the original Twig documentation.