Unlike gravitational force, magnetic force can be attractive or repulsive in nature.
True
Depending on orientation of poles, two magnets can either repel or attract each other. Likes poles repel and unlike poles attract each other. Hence, unlike gravitational force which is always attractive in nature, magnetic force can be attractive or repulsive.