This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Assignments /

UpValues

FilledSmallSquare UpValues[f] gives a list of transformation rules corresponding to all upvalues defined for the symbol f.

FilledSmallSquare You can specify the upvalues for f by making an assignment of the form UpValues[f] = list.

FilledSmallSquare The list returned by UpValues has elements of the form HoldPattern[lhs] :> rhs.

FilledSmallSquare See Section 2.5.13.

FilledSmallSquare See also: Set, DownValues, HoldAllComplete.

FilledSmallSquare New in Version 2; modified in 3.

Further Examples