|
isMember
|
The isMember function determines whether or not the specified object
{obj} is a member of the {target} Pair or List. If the {obj} is found, true is returned.
If {obj} is not found, false is returned. The isMember
function uses the isEqual predicate.
The isMember function is used to determine if an object is in the Pair or List It returns a Boolean value true if found in the Pair or List or false if not found. If the desired information is the index of the object, then the member function should be used instead
(isMember obj pair) Returns true if the object was found. Returns false if the objec was not found.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types obj The object to search for . Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex Boolean pair The target Pair. Pair
Returns:
Examples
Argument Types
How do I contact the AIS team?