Is it possible to specify more than one type hint for a parameter?

coco

New Member
Is there a way to add more than one type hinting to a method? For example, foo(param) must receive a instance of string OR bar OR baz.Thank you.
 
Back
Top