|
isEqual
|
The isEqual function returns true if the argument {obj1} the argument
{obj2} are equal; otherwise false is returned. Two objects are considered equal
if they are the same type, each character value is the same, and the case is the same.
The isEqual function uses a case-sensitive comparison to determine if two objects are equal. An alternate method would be to use the compareEQ function or the = function. If a case-insensitive comparison is desired, then the stringCiEQ and substringCiEQ functions are available.
(isEqual obj1 obj2) If the obj1 and obj2 are of the same type and they are equal, a Boolean value
true is returned. Otherwise false is returned
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 obj1 An Analytic Object Character, String, Symbol, Vector, BitVector, ByteVector, IntVector, Void, Function
FltVector, ObjVector, Structure, Dictionary, Directory, Brick, Pair, List
Matrix, NumMatrix, ShortVector, Integer, Float, Number, Complex, Boolean, Date obj2 An Analytic Object Character, String, Symbol, Vector, BitVector, ByteVector, IntVector, Void, Function
FltVector, ObjVector, Structure, Dictionary, Directory,
Pair, List
Matrix, NumMatrix, Integer, Float, Number, Complex,ShortVector, Boolean, Date
Returns:
Examples
Argument Types
How do I contact the AIS team?