'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = getStringifyArgs;


/**
 * Get pretty value (boolean) and return args to pass to the json.stringify method
 *
 * @export
 * @param {boolean} pretty - pretty print or not
 * @returns {Array} args to pass to the json.stringify
 * */
function getStringifyArgs(pretty) {
  var args = [null, ''];
  if (pretty) args[1] = '  ';
  return args;
}