size

expect abstract val size: Int

The size function works with collection interfaces rather than the traditional getLength interface.

actual abstract val size: Int
actual abstract val size: Int