$Notebooks

$Notebooks
is True if Mathematica is being used with a notebook-based front end.

DetailsDetails

  • $Notebooks is automatically set by the front end when it starts the Mathematica kernel.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

This tells you that Mathematica is being used with a notebook-based front end:

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