Rest
...immuneEffects: StatusEffect[]The status effects to which the Pokémon is immune.
Applies immunity to supplied status effects.
The Pokémon to which the status is being applied.
n/a
The status effect being applied.
A holder for a boolean value indicating if the status application was cancelled.
n/a
A boolean indicating the result of the status application.
Rest
...args: any[]
Provides immunity to status effects to the user.