code: function (cats) {
    if (typeof cats === 'undefined') {
      cats = getCategories();
    }
    else if (Array.isArray(cats) === false) {
      cats = [cats];
    }
    return cats;
  }
docs: @description
  Get array of categories
  
  @returns array of strings