GO:0004452: isopentenyl-diphosphate delta-isomerase activity
Catalysis of the reaction: isopentenyl diphosphate = dimethylallyl diphosphate.