isIdentical
|
The isIdentical function compares the two arguments to see if they identical.
If the arguments are both native data objects, the immediate values are compared to see
if they are equal, in which case, the isIdentical function returns a Boolean value
of true otherwise it returns false. If the arguments are both heap data
objects, the object Ids are compared to see if they are equal, in which case, the
isIdentical function returns a Boolean value of true otherwise it returns false.
The == relational operator calls the isIdentical function to perform its comparison.
Usage Use the isIdentical function when you wish to compare two Objects to
determine if they are identical (they are one and the same).
(isIdentical obj1 obj2 ) For Native Data Types, returns true if the immediate values are identical and returns false if otherwise.
For
Heap Data Objects, returns true of the Object Ids are identical and returns false if otherwise.
(isIdentical arg1 arg2 ) This function returns the Boolean value true if the Repository Ids are equal; Returns
false if the Repository Ids are not equal.
Expression:
Arguments
Name
Type
Description Argument: obj1 Structure Dictionary Directory Vector Character Function NumMatrix ShortVector
Boolean Brick Matrix Pair List Void Error Number Date Complex
First object to be compared. Argument: obj2 Structure Dictionary Directory Vector Brick Function NumMatrix ShortVector
Boolean Matrix Pair List Void Error Character Number Date Complex
Second object to be compared.
Returns:
Expression:
Arguments
Name
Type
Description Argument: arg1 ObjectRepository
First Repository to be compared. Argument: arg2 ObjectRepository
Second Repository to be compared.
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
|