Use instanceof for Checking what the parameter is