Hi All, In a sub declaration, is there a way to constrain a variable to only an "int32" or a "Str" (I want both)? Or do I have to put up with the other types of "Any"?
Many thanks, -T
ToddAndMargo via perl6-users Wed, 08 Jan 2020 18:58:44 -0800
Hi All, In a sub declaration, is there a way to constrain a variable to only an "int32" or a "Str" (I want both)? Or do I have to put up with the other types of "Any"?
Many thanks, -T