externalformat
Callable
Parameters
externalconfig: { markQuestions: boolean }
markQuestions: boolean - if set to true, descriptions of questions passed in as arguments will be surrounded with double angled brackets, i.e.<<description>>externalmarkQuestions: boolean
Returns (templates: TemplateStringsArray, ...placeholders: Answerable<any>[]) => string
Parameters
externaltemplates: TemplateStringsArray
externalrest...placeholders: Answerable<any>[]
Returns string
formatis a factory function returning a tag function that produces a human-readablestringdescription of a template containing one or more answerables.Typically, you'll want to use
dandfshorthands instead, or the modern alternative -the:dfunction works best for generating a static description of a parameterisedActivityffunction is better suited for debuggingthefunction works best for generating a dynamic description of a parameterisedActivityformat,dandfare the original Serenity/JS string formatting functions, still present in the framework for backwards compatibility purposes.To generate a dynamic description of a
QuestionorInteraction, usethefunction instead.Using
formatUsing
dUsing
f