security.applicationTagExists deprecated
Checks whether a tag exists on an application. Returns a boolean value.
Deprecated
Use app.tags.exists(tag) instead.
js
security.applicationTagExists(applicationId, tagName)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
tagName | string | The tag to be checked exists in the application. |
Returns
booleantrue if the tag exists on the application; false otherwise.
Examples
js
const exists = security.applicationTagExists("MyActivityId", "Tag");