const helpers = { stringToArray: function (input: string) { if (input != null) { return input.split(',') } else { return null } } } export = helpers