I want to give undead mobs in a certain radius instant health potions, but I don't know how to only target undead mobs.

    effect give @e[distance=1..7, type=undead] minecraft:instant_health 7 10

But there is no "undead" mob type. At least in this context.

Any help would be appreciated.