summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared')
-rw-r--r--usecaseui-portal/src/app/shared/utils/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/shared/utils/utils.ts b/usecaseui-portal/src/app/shared/utils/utils.ts
index 0633778c..a8fdd76f 100644
--- a/usecaseui-portal/src/app/shared/utils/utils.ts
+++ b/usecaseui-portal/src/app/shared/utils/utils.ts
@@ -130,4 +130,8 @@ export class Util {
return iter;
}, {});
}
+
+ intersection(inputs: any[]) : any[]{
+ return inputs.reduce((a, b) => a.filter(c => b.includes(c)))
+ }
} \ No newline at end of file