Question
How does operator 'less than' work with Rectangle objects?
Just found in legacy code the following:
private var firstRect:Rectangle;
private var secondRect:Rectangle;
if (firstRect < secondRect)
{
// do something
}
How does operator 'less than' work with Rectangle objects?
Doc says that object is converted to number if it is not a String.
Rectangle is not a String, though has conversion to String.
Please help.
