memv


memv(x, xs)
      

Return the first tail of the list xs whose head is equivalent to x. Return false if x is not found in xs.

The equivalence test for memv is is_eqv.

Examples:


memv(1020032003209020020020, [1, 2, 1020032003209020020020, 4, 5])
// [1020032003209020020020, 4, 5]
      

Also see:

memq
member


Core Module Index | Contents