|
member
|
The member function takes a key as an argument and a
Directory as a second argument and returns the index where the key was found. If the key was not found,
the member function returns false. The member
function uses the isEqual predicate.
Use the member function if you want to locate the position of a certain member (key) in a Directory object. If you just want to know if a member is in the Directory but do not care where it is located if it is found, use the isMember function, which returns a Boolean true or false.
(member key directory) Returns the index of the member if it is found, otherwise it returns false.
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 key The key(member) you wish to locate. Symbol directory The target directory. Directory
Returns:
Examples
Argument Types
How do I contact the AIS team?