next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > The Macaulay2 language > lists and sequences > BasicList #? ZZ

BasicList #? ZZ -- check for element in list

Synopsis

Description

x#?i -- tells whether there is an i-th element in the list x.
i1 : {a,b,c} #? 2

o1 = true
i2 : {a,b,c} #? 22

o2 = false

See also