Answer the question
In order to leave comments, you need to log in
Is it a Kotlin feature to shorten a method name when called?
Hello everyone,
I have an interesting question here.
How to take advantage of the Kotlin feature when shortening a method name during a call?
For example, the File class has a getParent() method, which Kotlin suggests replacing with parent.
How to take advantage of this opportunity? Is it a method overload?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question