Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AskedQ

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

ExamplesExamplesopen allclose all

Basic Examples  (2)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)