MSPValueQ


returns True if all the variables have values

DetailsDetails

  • MSPValueQ is a utility function that tests whether variables have values.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

You can simulate how the function works by installing and loading the package.

In[1]:=
Click for copyable input

The variable $$expr has a value, so the result is True.

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

Now $$expr has no value, so the result is False.

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

All the variables must have values for MSPValueQ to return True.

In[4]:=
Click for copyable input
Out[4]=
New to Mathematica? Find your learning path »
Have a question? Ask support »