Macaulay2 » Documentation
Packages » Macaulay2Doc :: all(HashTable,Function)
next | previous | forward | backward | up | index | toc

all(HashTable,Function) -- whether all key/value pairs in a hash table satisfy a specified condition

Synopsis

Description

i1 : all(hashTable{1=>3, 2=>2, 3=>1}, (a,b) -> a == b)

o1 = false
i2 : all(hashTable{1=>1, 2=>2, 3=>3}, (a,b) -> a == b)

o2 = true

See also

Ways to use this method: