Type is ObjectValue<BattleActor>.

Name Description Usage Must be called on
is_npc(): Double
Returns 1.0 if the actor is a NPC, otherwise returns 0.0.
v.actor.is_npc()
is_player(): Double
Returns 1.0 if the actor is a Player, otherwise returns 0.0.
v.actor.is_player()
is_wild(): Double
Returns 1.0 if the actor is a wild Pokémon, otherwise returns 0.0.
v.actor.is_wild()
npc(): ObjectValue<NPCBattleActor>
Returns a struct of ObjectValue<NPCBattleActor>.
v.actor.npc()
NPCBattleActor
player(): ObjectValue<PlayerBattleActor>
Returns a struct of ObjectValue<PlayerBattleActor>.
v.actor.player()
PlayerBattleActor