targetType
Get the ObjectType of the tagged object of a tag.
Signature
ts
class Tag {
targetType(): ObjectType | null;
}Returns
- null | ObjectType
ObjectType of the tagged object of a tag.
-
Any: Any kind of git object
-Commit: An object which corresponds to a git commit
-Tree: An object which corresponds to a git tree
-Blob: An object which corresponds to a git blob
-Tag: An object which corresponds to a git tag
