Information

Information[expr]

gives information about the expression expr.

Information[expr,prop]

gives the value of the property prop for expr.

Details

  • Information[expr, "Properties"] gives the list of available properties for expr.
  • Information[patt] gives information about the symbols returned by Names[patt]. The string pattern patt can be given as a string with metacharacters, as StringExpression[] or as RegularExpression["regex"].
  • Information["symbolName"] returns the same information as the special input form ??symbolName. ??symbolName returns information only for symbols, not other object expressions.
  • The special input form ?symbolName hides information other than the usage message by default.
  • For Symbol inputs, the following properties may be included:  »
  • "FullName"full symbol name including context
    "Usage"usage message for the symbol
    "Options"list of default options
    "Attributes"list of attributes
    "Documentation"links to local and web documentation
    "Definitions"function definitions
    "OwnValues"ownvalue definitions
    "DownValues"downvalue definitions
    "UpValues"upvalue definitions
    "SubValues"subvalue definitions
    "DefaultValues"defaultvalue definitions
    "NValues"nvalue definitions
  • Supported data object expr types include:
  • Databin"Bin", "DataInterpretation", »
    TemporalData"DateInterval", "DataPoints",  »
    DateObject"Date", "Granularity",  »
    TimeObject"Time", "Granularity", »
    Quantity"Magnitude", "Unit",  »
    QuantityVariable"Identifier","PhysicalQuantity",  »
    Entity"EntityType", "Name",  »
    EntityClass"EntityType", "EntityCount",  »
    EntityProperty"EntityType", "Description",  »
    EntityPropertyClass"EntityType", "PropertyCount",  »
    Image"ColorSpace", "DataType",  »
    Image3D"ColorSpace", "DataType",  »
    Audio"Channels", "Duration",  »
  • Supported system object expr types include:
  • File"AbsoluteFileName", "BlockCount",  »
    URL"Scheme", "User",  »
    CloudObject"UUID", "Path",  »
    ProcessObject"ExitCode",  »
  • Supported machine learning object expr types include:
  • ClassifierFunction"Accuracy","BatchEvaluationTime",  »
    PredictorFunction"EvaluationTime","ExampleNumber", »
    LearnedDistribution"PDFTime","Entropy", »
  • Additional supported expr types include:
  • LibraryFunction"ArgumentTypes","File",  »
    NotebookObject"WindowTitle", "StorageSystem",  »

Examples

open all close all

Basic Examples  (3)

Get information about the Sin function:

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

Use the special input form:

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

Display just the usage message:

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

Get the Attributes for the Sin function:

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

Get information about a specific Databin:

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

Extract just the creation date for the bin:

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

Scope  (19)

Properties & Relations  (6)

Possible Issues  (1)

Introduced in 1988
(1.0)
|
Updated in 2019
(12.0)