Tags

A key-value pair object that defines the entity.

Tags.only([keys])

Get the Tags on the entity that only match the given keys.

Arguments

Arguments

Type

Default Values

Description

keys

Array

undefined

The keys to filter by

Returns

An Object containing the desired Tags.

Tags.except([keys])

Get the Tags on the entity that do not match the given keys.

Arguments

Arguments

Type

Default Value

Description

keys

Array

undefined

The keys to filter by

Returns

An Object containing the desired Tags exceptions.

Tags.all()

Get the all Tags on the entity.

Returns

An Object containing allTags.


What’s Next