Contents

equals(anotherSize)

Compares the sizes of two maps and indicates whether they’re of equal value.

Declaration

equals(anotherSize: MapSize): boolean;

Parameters

  • anotherSize:

    The map size to use for comparison.

Return Value

Returns true if the width and height values of a map size exactly match the corresponding values of anotherSize. Returns false if the values aren’t an exact match.

See Also

Copying and comparing map sizes