AskTemplateDisplay

AskTemplateDisplay[fun]

is a construct for use inside AskFunction that displays the result of applying fun to the association of the values of all keys encountered so far in the evaluation of the AskFunction.

AskTemplateDisplay["str"]

applies "str" as a string template to the association of values.

Details

Examples

open all close all

Basic Examples  (2)

AskTemplateDisplay takes a function to be applied to the current values:

In[1]:=
Click for copyable input
Out[1]=

When AskTemplateDisplay is given a string, that string is taken to be a StringTemplate:

In[1]:=
Click for copyable input
Out[1]=

Properties & Relations  (1)

Introduced in 2016
(10.4)