chanjungskim
02/13/2023, 4:49 AMChrimaeon
02/13/2023, 9:45 AMfunctionName()
is just a “shortcut” for using the invoke
operator.
https://kotlinlang.org/docs/operator-overloading.html#invoke-operator
with ::functionName
you get a reference to the function.
https://kotlinlang.org/docs/reflection.html#function-references