Create a new Tag.
The numeric tag value
Optional
Optional human-readable name
A new Tag object
const dateTag = createTag(1, 'date');const customTag = createTag(12345, 'myCustomTag'); Copy
const dateTag = createTag(1, 'date');const customTag = createTag(12345, 'myCustomTag');
Create a new Tag.