WLJS LogoWLJS Notebook

InputForm

Wolfram Kernel
InputForm[expr_]

reveals true form of a given expression avoiding any transformations. It is one-dimensional output, suitable to be typed as lines of Wolfram Language input.

Standard output form of WLJS notebook output cells is decorated InputForm

For example:

Red
Red // InputForm
RGBColor[1, 0, 0]

or as an input string:

ToString[Red, InputForm]
"RGBColor[1, 0, 0]"