Comment Comment by yoyohello13 You can annotate OR types in python so in this case you could dodef fooify(x: int | list[int]) parent yoyohello13 2 years ago
def fooify(x: int | list[int])