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>>
Returns (templates: TemplateStringsArray, ...placeholders: Answerable<any>[]) => string
Parameters
externaltemplates: TemplateStringsArray
externalrest...placeholders: Answerable<any>[]
Returns string
format
is a factory function returning a tag function that produces a human-readablestring
description of a template containing one or more answerables.Typically, you'll want to use
d
andf
shorthands instead, or the modern alternative -the
:d
function works best for generating a static description of a parameterisedActivity
f
function is better suited for debuggingthe
function works best for generating a dynamic description of a parameterisedActivity
format
,d
andf
are the original Serenity/JS string formatting functions, still present in the framework for backwards compatibility purposes.To generate a dynamic description of a
Question
orInteraction
, usethe
function instead.Using
format
Using
d
Using
f