Sequence.getLength

int getLength()

Returns the positive length (>= 0) of seq. Note that this method is O(h) where `h' is the height of the tree. It is thus more efficient to use [glib.sequence.Sequence.isEmpty] when comparing the length to zero.

Returns

the length of seq