TargetTarget.typeVersion: 24.2.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.