Taggable

Taggable

Members

tags :Array.<string>

tags describing the object

Type:
  • Array.<string>

Methods

hasAllTags(tags) → {boolean}

Checks if the object has all of the provided tags. The object may have more tags than that.

Parameters:
Name Type Description
tags Array.<string>
Returns:
Type
boolean

hasAnyTag(tags) → {boolean}

Checks if the object has any of the provided tags.

Parameters:
Name Type Description
tags Array.<string>
Returns:
Type
boolean

hasExactTags(tags) → {boolean}

Checks if the object has exactly the provided tags, no more or less.

Parameters:
Name Type Description
tags Array.<string>
Returns:
Type
boolean