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