Unwraps a potentially wrapped DICOM tag value, preserving its raw type.
Accepts CUBE's {value: ...} decoder wrapper, the DICOM-JSON {Value: [...]} wrapper (first element wins), or a bare value.
{value: ...}
{Value: [...]}
Potentially wrapped tag value.
The unwrapped value; undefined and null pass through unchanged.
Unwraps a potentially wrapped DICOM tag value, preserving its raw type.
Accepts CUBE's
{value: ...}decoder wrapper, the DICOM-JSON{Value: [...]}wrapper (first element wins), or a bare value.