Current File : //home/tradevaly/www/node_modules/collect.js/src/helpers/variadic.js
'use strict';

/**
 * Variadic helper function
 *
 * @param args
 * @returns {*}
 */
module.exports = function variadic(args) {
  if (Array.isArray(args[0])) {
    return args[0];
  }

  return args;
};