# Legato.Util.Tag

This class represents a generic tag with string key and value (value is optional).

Summary

Legato.Util.Tag | This class represents a generic tag with string key and value (value is optional).
Properties |
name | {String} Name of the tag
value | {String} Value of the tag
Functions |
Legato.Util.Tag Create a new tag instance |
toString Cast this object into a string. | Returns: {String} The string representation of this tag.
equals Determines whether one tag is equivalent to another. |

### Properties

### name

{String} Name of the tag

### value

{String} Value of the tag

### Functions

### Legato.Util.Tag Create a new tag instance

Parameters: name | {String} The name of the tag value - {String} The value of the tag

Returns: An instance of Legato.Util.Tag

### toString Cast this object into a string.

Returns: {String} The string representation of this tag.

### equals Determines whether one tag is equivalent to another.

Parameters: tag | {Legato.Util.Tag}

Returns: {Boolean} The tag passed in as parameter is equal to this.

This class represents a generic tag with string key and value (value is optional).