I get to know about the Invoke operator that,
a() is equivalent to a.invoke()
a()
a.invoke()
Is there anything more regarding Invoke operator the
If you have some Python background,
you can think invoke in Kotlin as __call__ in Python.
invoke
__call__
By using this, you can "call" your object as if it's a function.
One difference is: you can overload invoke, but there is no official way to overload methods in Python.