Category

Category

Part of the model category tree, contains other categories and models.

Extends

Members

id :string

Inherited From:

System-wide unique identifier

Type:
  • string

imageUrl :string

Inherited From:

string containing thumbnail URL

Type:
  • string

name :string

Inherited From:

Product or model name

Type:
  • string

tags :Array.<string>

Inherited From:

tags describing the object

Type:
  • Array.<string>

Methods

hasAllTags(tags) → {boolean}

Inherited From:

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}

Inherited From:

Checks if the object has any of the provided tags.

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

hasExactTags(tags) → {boolean}

Inherited From:

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

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