next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: any(HashTable,Function)

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: