helpers.ts 201 Bytes
Newer Older
Wolfgang Knopki's avatar
Wolfgang Knopki committed
1
var helpers = {
Rosanny Sihombing's avatar
Rosanny Sihombing committed
2
    stringToArray: function (input:string){
Wolfgang Knopki's avatar
Wolfgang Knopki committed
3
4
5
6
7
8
9
10
        if(input != null){
            return input.split(',');
        }else{
            return null;
        }
    }
};

Rosanny Sihombing's avatar
Rosanny Sihombing committed
11
export = helpers;