code: function createArrayRepeat (type, options) {
      // a single child, repeat for each child
      var childTest = ducktype(type[0]).test;
  
      // create the ducktype
      return new DuckType({
        name: options && options.name || null,
        test: function test (object) {
          // test whether object is an array
          if (!Array.isArray(object)) {
            return false;
          }
  
          // test all childs of the array
          for (var i = 0, ii = object.length; i < ii; i++) {
            if (!childTest(object[i])) {
              return false;
            }
          }
          return true;
        }
      });
  
      // TODO: create an option length, length.min, length.max for the array.
      //       length can be an integer or a function
    }
docs: Create a ducktype handling an array
  @param {Array} type    An array containing one element
  @param {{name: String}} [options]
  @returns {*}