AskedQ

AskedQ["key"]

is a construct for use inside AskFunction that gives True if a value is currently associated with key, and False otherwise.

Examples

Basic Examples  (2)

Use AskedQ to verify if a key has been asked:

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

Use AskedQ as the condition of a loop:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2016
(10.4)