|
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.
When to use 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.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_ObjVector_isIdentical_015
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 obj1 First object to be compared. Structure Dictionary Directory Vector Character Function NumMatrix ShortVector
Boolean Brick Matrix Pair List Void Error Number Date Complex obj2 Second object to be compared. Structure Dictionary Directory Vector Brick Function NumMatrix ShortVector
Boolean Matrix Pair List Void Error Character Number Date Complex
Returns:
Examples
Argument Types
How do I contact the AIS team?