Reference/last

From Kx Wiki
Jump to: navigation, search

last (last function)

Analogous to first, except that it returns the last element of its argument.

When applied to a dictionary, returns the last value. For example:

q)last `a`b`c!1 2 3
3

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox