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