Why not Array.count UInt?

Why not Array.counta UIntinstead Int?

How can it Array.countbe negative?

+4
source share
1 answer

From Apple's documentation of Swift types here :

Note

UInt , , . , Int , , , . Int , , " ".

+4

All Articles