Values

Values[key1val1,key2val2,]
gives a list of the values in an association.

Values[{key1val1,key2val2,}]
gives a list of the in a list of rules.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Get the values in an association:

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

Get values from a list of rules:

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

Values automatically threads over lists:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)
Translate this page: