TargetTarget.typeVersion: 21.10.0On this pageTarget.type() method Identifies what kind of target this is. Signature: class Target { abstract type(): TargetType;} Returns: TargetType Remarks See docs for more info about background pages.