getByTag method

getByTag(tag)

Returns the first structured document tag encountered in the collection with the specified tag.

getByTag(tag: string)
ParameterTypeDescription
tagstringThe tag of the structured document tag.

Remarks

Returns null if the structured document tag with the specified tag cannot be found.

See Also