mise API - v0.0.0
    Preparing search index...

    Function tag_extractRaw

    • 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.

      Parameters

      • val: unknown

        Potentially wrapped tag value.

      Returns unknown

      The unwrapped value; undefined and null pass through unchanged.