Returns whether a participant in a pet battle is a player or an NPC


See also Pet battles functions.

Signature:

isnpc = C_PetBattles.IsPlayerNPC(player)

Arguments:

  • player - The value used to identify one of the participants in a pet battle (string?)

Returns:

  • isnpc - True is the participant is an NPC, false otherwise (boolean)