code: function getParser(delimiterOrParser) {
    var parser;
    if (typeof delimiterOrParser === 'string') {
      parser = discernParser(delimiterOrParser, { delimiter: true });
    } else if (typeof delimiterOrParser === 'function' || (typeof delimiterOrParser === 'undefined' ? 'undefined' : _typeof(delimiterOrParser)) === 'object') {
      parser = delimiterOrParser;
    }
    return parser;
  }
docs: Our `readData` fns can take either a delimiter to parse a file, or a full blown parser Determine what they passed in with this handy function