Describe the bug
The documentation for hasTags indicates that it can accept an array for the inObject parameter, but when passed an array returns an error.
To Reproduce
Steps to reproduce the behavior:
Go to console
Type Tagger.hasTags(Tagger.getByTag("Tag"),"Tag") - Replace 'Tag' with an applicable Tag.
Press 'Enter'
See error
Expected behavior
hasTags will return a Boolean value of whether the passed array has the given tag (unclear if all items would need to have the tag to return true).
Screenshots
Setup:
Foundry Version: 9.269
System Version: DND5e 1.6.3
Tagger Version: 1.3.6
Browser & version: Microsoft Edge Version 105.0.1343.33 (Official build) (64-bit)
Active modules:
Describe the bug The documentation for hasTags indicates that it can accept an array for the inObject parameter, but when passed an array returns an error.
To Reproduce Steps to reproduce the behavior:
Expected behavior hasTags will return a Boolean value of whether the passed array has the given tag (unclear if all items would need to have the tag to return true).
Screenshots
Setup:
Foundry Version: 9.269 System Version: DND5e 1.6.3 Tagger Version: 1.3.6 Browser & version: Microsoft Edge Version 105.0.1343.33 (Official build) (64-bit) Active modules:
Tagger MATT