API C PetBattles.IsPlayerNPC

Returns whether or not a pet battle team is controlled by an NPC. isNPC = C_PetBattles.IsPlayerNPC(petOwner)

Arguments

 * petOwner: Number - 1: Current player, 2: Opponent.

Returns

 * isNPC: Boolean - false if the pet owner is a player, true otherwise.