Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > hash tables > keys
next | previous | forward | backward | up | index | toc

keys -- keys used in a hash table, dictionary, or database

Synopsis

Description

i1 : x = new HashTable from {a => 1, b => 2}

o1 = HashTable{a => 1}
               b => 2

o1 : HashTable
i2 : keys x

o2 = {a, b}

o2 : List

See also

Ways to use keys :

For the programmer

The object keys is a compiled function.