Hi. I have a List<SomeObject> and SomeObject has a variable x : String.
I'm trying to pass a List<String> in a fun someOtherFunction (stringList : List<String>) by :
someFunction(myList : List<SomeObject>){
return someOtherFunction(myList.map{ it.x })
}
However it does not seem to return a List<String>, how do I achieve this?