diff --git a/platform/core/src/utils/dicomSplit.ts b/platform/core/src/utils/dicomSplit.ts new file mode 100644 index 0000000000..54b20d38f0 --- /dev/null +++ b/platform/core/src/utils/dicomSplit.ts @@ -0,0 +1,5 @@ +export function dicomSplit(value) { + return ( + (Array.isArray(value) && value) || (typeof value === 'string' && value.split('\\')) || value + ); +}