code: function padArray (data, options) {
                  options = extend({}, defaultOptions$o, options);
  
                  if (Array.isArray(data)) {
                      if (Array.isArray(data[0]))
                          return matrixCase(data, options);
                      else
                          return arrayCase(data, options);
                  }
                  else
                      throw new TypeError('data should be an array');
              }
docs: Pads and array
  @param {Array <number>} data
  @param {object} options