This message was deleted.
# announcements
s
This message was deleted.
g
Where is “this”? It’s not even valid Kotlin code
where is
definition
declaration?
this is not a declaration, this is definition type
Copy code
val definition: List<String>? = emptyList()
definition?.isEmpty() //true
what is that?
it’s unfortunately doesn’t tell me anything, it also not a complete expression and not even valid Kotlin code (“adding” probably just a comment, but it’s just my guess)
isEmpty() is member function of List interface, if you have a custom List implementation check that it works properly
because I don’t know type of argv and how this type implemented there is no way to help you Maybe would be easier for you and for everyone, who wants to help, if you share your sample as self contained snippets, you can do this using Kotlin Playground: https://play.kotlinlang.org/ Just write code, reprduce you problem, share it and ask question Otherwise it’s very hard for everyone to understand what you trying to say without any context and valid code samples
👏 1
Now, after deleting all the messages from this thread, I’m looking as a crazy person who talk with an invisible interlocutor
¯\_(ツ)_/¯
🤣 5
s
lol