member


(member  item  lst)

This function searches in lst for the first occurrence of item, and returns the remainder of lst starting with item.

Arguments

item  any value or expression to be searched for in lst

lst  any list

Return

NIL if item was not found in lst; or the remainder of lst starting with first occurrence of item

Example

(member 12 '(10 11 12 13 14 99))
returns
(12 13 14 99)

Remarks




©  Bricsys NV. All rights reserved.