Expr Methods

Methods

AsArray Converts the Expr to an array of the requested type and depth.
AsDouble Gives the double value for Exprs that can be represented as doubles.
AsInt64 Gives the Int64 value for Exprs that can be represented as integers.
AtomQ Tells whether the Expr represents a Wolfram Language atom. Works like the Wolfram Language function AtomQ.
ComplexQ Tells whether the Expr represents a Wolfram Language Complex number.
CreateFromLink Creates an Expr by reading it off a link.
Delete Returns a new Expr that has the same head but the nth element deleted (counted from the end if n is negative). Works like the Wolfram Language function Delete.
Dispose Frees resources that the Expr uses internally.
Equals Implements a value-based equality comparison that is similar to the Wolfram Language SameQ function.
(Overrides ObjectEquals(Object))
Finalize The finalizer frees resources that the Expr uses internally.
(Overrides ObjectFinalize)
GetHashCode
(Overrides ObjectGetHashCode)
GetObjectData Populates the SerializationInfo object with the Expr's internal state information.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Insert Returns a new Expr that has the same head but with e inserted into position n (counted from the end if n is negative). Works like the Wolfram Language function Insert.
IntegerQ Tells whether the Expr represents a Wolfram Language integer. Works like the Wolfram Language function IntegerQ.
ListQ Tells whether the Expr represents a Wolfram Language list (that is, it has head List). Works like the Wolfram Language function ListQ.
MatrixQ The elements can be of any type (except lists).
MatrixQ(ExpressionType) Requires that every element be of the specified type.
NumberQ Tells whether the Expr represents a Wolfram Language number (real, integer, rational, or complex). Works like the Wolfram Language function NumberQ.
Part(Int32) Gives the Expr representing the specified part of this Expr.
Part(Int32) Extracts a part more than one level deep.
Put Not intended for general use.
RationalQ Tells whether the Expr represents a Wolfram Language Rational number.
RealQ Tells whether the Expr represents a Wolfram Language Real number.
StringQ Tells whether the Expr represents a Wolfram Language string. Works like the Wolfram Language function StringQ.
SymbolQ Tells whether the Expr represents a Wolfram Language symbol.
Take Returns a new Expr that has the same head but only the first n elements of this Expr (or last n elements if n is negative). Works like the Wolfram Language function Take.
ToString Returns a representation of the Expr as a Wolfram Language InputForm string.
(Overrides ObjectToString)
TrueQ Tells whether the Expr represents the Wolfram Language symbol True. Works like the Wolfram Language function TrueQ.
VectorQ The elements can be of any type (except lists).
VectorQ(ExpressionType) Requires that every element be of the specified type.

See Also