values

Syntax

values(X)

Arguments

X is a dictionary/table.

Details

Return all values of a dictionary, or all the columns of a table in a tuple.

Examples

z=dict(`INT,`DOUBLE)
z[5]=7.9
z[3]=6
z.values();
// output
[6,7.9]

t = table(1 2 3 as id, 4 5 6 as x, `IBM`MSFT`GOOG as name);
values(t);
// output
([1,2,3],[4,5,6],["IBM","MSFT","GOOG"])

Related function: keys