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

ArgumentsTypeDefault ValuesDescription
keysArrayundefinedThe 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

ArgumentsTypeDefault ValueDescription
keysArrayundefinedThe 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