inside
|
The inside function searches the Vector argument {vector} for the match
of the search object argument {obj} and returns the index where {obj}
was found. If the {obj} was not found, false is returned. The inside
function uses the isIdentical predicate. The inside function takes a key as an argument and a Structure as a second
argument and returns the index where the key was found. If the key was not found,
the inside function returns false. The inside function uses the isIdentical
predicate. The inside function takes a key as an argument and a Dictionary as a second
argument and returns the index where the key was found. If the key was not found,
the inside function returns false. The inside function uses the isIdentical
predicate. The inside 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 inside function returns false. The inside function uses the isIdentical
predicate. The inside function searches the Matrix argument {matrix} for the match of the
search object argument {obj} and returns the index where {obj} was
found. If the {obj} was not found, false is returned. The member function
uses the isIdentical predicate. The inside function searches the NumMatrix argument {nummatrix} for the match of the
search object argument {obj} and returns the index where {obj} was
found. If the {obj} was not found, false is returned. The member function
uses the isIdentical predicate. The inside function searches the List argument {list} for a match
of the search object argument {obj} and returns the index where {obj}
was found. If the {obj} was not found, false is returned. The isIdentical
predicate is used to perform the comparison Usage The inside Function is used to find an object {obj} in a Vector
{vector}. Since the inside function returns the location of the
{obj}, the inside function makes it convenient to perform some operation
on the {obj} . An alternate function, the isInside function, is used
when a Boolean value of either true or false is sufficient. The inside function if you want to locate the position of a certain key
in a Structure. If you just want to know if a member is in the Structure but do not
care where it is located if it is found, use the isInside function, which returns a
Boolean true or false. The inside function if you want to locate the position of a certain key
in a Dictionary. 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 isInside function, which returns a
Boolean true or false. The inside function if you want to locate the position of a certain key
in a Directory. If you just want to know if a member is in the Structure,
Dictionary or Directory but do not
care where it is located if it is found, use the isInside function, which returns a
Boolean true or false. The inside Function is used to find an object {obj} in a Matrix
{matrix}. Since the inside function returns the location of the
{obj}, the inside function makes it convenient to perform some operation
on the {obj} . An alternate function, the isInside function, is used
when a Boolean value of either true or false is sufficient. The inside function is used to find an object {obj} in a NumMatrix
{nummatrix}. Since the inside function returns the location of the
{obj}, the inside function makes it convenient to perform some operation
on the {obj} . An alternate function, the isInside function, is used
when a Boolean value of either true or false is sufficient. The inside Function is used to find an object {obj} in a List
{list}. Since the inside function returns the location of the
{obj}, the inside function makes it convenient to perform some operation
on the {obj} . An alternate function, the isInside function, is used
when a Boolean value of either true or false is sufficient.Structure
Dictionary
Directory
Matrix
NumMatrix
List
Structure
Dictionary
Directory
Matrix
NumMatrix
Pair
(inside obj vector) Returns false if the object is not present. If the object is present, returns an integer representing the
index into the vector where the object was found.
(inside key struct) Returns the index of the member if it is found, otherwise it returns false
(inside key dictionary) Returns the index of the member if it is found, otherwise it returns false
(inside key directory) Returns the index of the member if it is found, otherwise it returns false
(inside obj matrix) Returns false if the object is not present. If the object is present, returns an integer representing the
index into the matrix where the object was found.
(inside obj nummatrix) Returns false if the object is not present. If the object is present, returns an integer representing the
index into the matrix where the object was found.
(inside obj list ) Returns false if the object is not present. If the object is present, returns an
integer representing the index into the list where the object was found.
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
The search object. Argument: vector Vector BitVector ShortVector IntVector NumVector
The Vector to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: key String or Text
The key (member) you wish to locate. Argument: struct Structure
The structure to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: key String or Text
The key (member) you wish to locate. Argument: dictionary Dictionary
The Dictionary to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: key String or Text
The key (member) you wish to locate. Argument: directory Directory
The Directory to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
The search object. Argument: matrix Matrix
The Matrix to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
The search object. Argument: nummatrix NumMatrix
The NumMatrix to be searched.
Returns:
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
The search object. Argument: list List
The List to be searched.
Returns:
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.
Analytic Information Server (AIS)AIS Component Systems
|