|
isMember
|
The isMember function determines whether or not the specified object
{obj} is a member of the {target} Vector. If the {obj} is found, true is returned.
If {obj} is not found, false is returned. The isMember
function uses the isEqual predicate. When to use The isMember function is used to determine if an object is in the Vector
It returns a Boolean value true if found in the Vector 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 vector) 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.
Example_ObjVector_isMember_007
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 vector The target vector. Vector ShortVector IntVector NumVector ObjVector BitVector
Returns:
Examples
Argument Types
How do I contact the AIS team?