Check arguments for type