Skip to content

name

Get the name of a tag.

Signature

ts
class Tag {
  name(): string;
}

Returns

  • string

    Name of tag.

Errors

  • Error

    Throws error if it is not valid utf8.

Released under the MIT License.