# Input array of multiple types

**URL:** <https://cwl.discourse.group/t/input-array-of-multiple-types/133>\
**Category:** CWL Questions\
**Created:** [May 22, 2020, 8:06pm UTC](https://cwl.discourse.group/t/input-array-of-multiple-types/133 "2020-05-22T20:06:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evan\_Clark1](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/evan_clark1/32/71_2.png) [@Evan\_Clark1](https://cwl.discourse.group/u/Evan_Clark1)\
**Post date:** [May 22, 2020, 8:06pm UTC](https://cwl.discourse.group/t/input-array-of-multiple-types/133/1 "2020-05-22T20:06:52Z")

</div>

I am attempting to wrap multiQC which accepts and arbitrary number of files and folders as inputs. The issue I am having is being able to pass a mix of files and directories as arrays to the tool. One method would be having separate inputs for each type but this seems not the most ideal way.

---

<div class="post-metadata">

**Author:** ![mrc](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/mrc/32/3_2.png) [@mrc](https://cwl.discourse.group/u/mrc)\
**Post date:** [May 26, 2020, 8:02am UTC](https://cwl.discourse.group/t/input-array-of-multiple-types/133/2 "2020-05-26T08:02:02Z")

</div>

Hey Evan, can you post what you have so far? Is is `type: [Directory[], File[] ]` or something more complicated?
