Yes that is true for exactly the reason you said. Range is the 0% to 100% percentile and IQR is the 25% to 75% percentile. In some cases they can be equal. If a data set has two samples then the range and IQR would be equal. If all the samples have the same value then the IQR and range are both equal to zero