TagsCollection

An iterable group of Tags contained on a Level .

TagsCollection.only([keys])

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

Arguments

ArgumentTypeDefault ValueDescription
keysArrayundefinedThe keys to filter by

Returns

An Object containing the desired TagsCollection

TagsCollection.except([keys])

Get the TagsCollection on the entity that does not match the given keys.

Arguments

ArgumentTypeDefault ValueDescription
keysArrayundefinedThe keys to filter by

Returns

An Object containing the desired Tags exceptions.

TagsCollection.all()

Get all Tags on the entity.

Returns

An Object containing all Tags.


What’s Next