Skip to content

size

In std/collections.

reduction fn size<T>(self: Collection<T>) : Int
reduction fn size<T>(self: Window<T>) : Int

The number of element occurrences in self, an Int: [1, 2, 2, 3] | size is 4, and Set([1, 2, 2]) | size is 2. Of a window, the number of rows in its partition.