In Routine§
See primary documentation in context for method multi
method multi(Routine: --> Bool)
Returns True
if the routine is a multi sub or method. Note that the name of a multi sub refers to its proto
and this method would return false if called on it. It needs to be called on the candidates themselves:
multi foo ($, $) ;say .multi; # OUTPUT: «False»say .candidates».multi; # OUTPUT: «(True)»