pydicom.datadict.mask_match

pydicom.datadict.mask_match(tag: int) Optional[str][source]

Return the repeaters tag mask for tag.

Parameters

tag (int) – The tag to check.

Returns

If the tag is in the repeaters dictionary then returns the corresponding masked tag, otherwise returns None.

Return type

str or None