HP Prime for All

English  Русский 

Syntax

member(Elem(e),(Lst(l) or Set(l)))

Description

Tests if e is in the list or the set l (=0 or k+1 with l[k]=e)

Example

member(1,[4,3,1,2]) returns 3

member — Discussion