Cannot use/access Array.count in Kotlin compile #288
Unanswered
davidakoontz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't understand this error message; Kotlin compiler doesn't like
let itemCount: Int = items.count
Items is a parameter an Array of Item. So the Array.count var should be available - right?
func shuffleAsync<Item>(_ items: Binding<[Item]>, times: Int? = nil) async {
Any ideas what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions