I am making a function and I want it to return an array if it is a success otherwise a boolean of false. Is there a way I can do this?

Function test()
If ( mystuff = Good) Then
Return myArray
Else
Return False
End If
End Function