eqObj#
- swordfish.function.eqObj()#
Check if the data types and values of two objects are identical. Return true only if both data types and values are identical. Please note that eqObj returns false if values are identical but object types are different. This is different from fuction eq.
When comparing floating point numbers, function eqObj determines whether the values of obj1 and obj2 are equal based on the result of abs(obj1-obj2)<=pow(10,-precision).