1
$\begingroup$

I'm looking for "What is" command in Mathematica. For example, the command WhatIs[function[x]] gives a definition of the function given anywhere in the notebook or generally in kernel.

Could anyone please tell me whether this command exist?

$\endgroup$
4
  • 2
    $\begingroup$ Take a look at Information and friends. And maybe GeneralUtilities`PrintDefinitions $\endgroup$
    – Kuba
    Jul 23 '18 at 17:38
  • 1
    $\begingroup$ If your question is meant also in the OOP context, Head might be also something to look for. $\endgroup$ Jul 23 '18 at 17:40
  • 4
    $\begingroup$ See also ? and ?? $\endgroup$ Jul 23 '18 at 17:42
  • 1
    $\begingroup$ Just use ? and ?? $\endgroup$ Jul 23 '18 at 19:25

Browse other questions tagged or ask your own question.