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

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

Synopsis

Description

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

o1 = true
i2 : any(hashTable{1=>4, 2=>3, 3=>2, 4=>1}, (a,b) -> a == b)

o2 = false

See also

Ways to use this method: