dispatch

fun dispatch(vararg args: Any): Any

Invoke the most applicable method with respect to the supplied argument and returns its return value.

Return

the return value of the invoked method NoApplicableMethodError if no method is applicable.

Parameters

args

the rest arguments