Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Collection.Equals (gb)

Function Equals ( Collection As Collection ) As Boolean

Since 3.20

Returns if Collection is equals to the current collection.

Two collections are equal if they have the same number of elements, the same default values, the same keys, and if the associated elements are equals.

Two elements are equals either if:
  • They are the same values or object references.

  • They are two equal arrays.

  • They are two equal collections.

The comparison is done recursively, and may enter an infinite recursion if there are cyclic references.