pydicom.datadict.mask_match

pydicom.datadict.mask_match(tag)

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:int or None