helpers.ts 201 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
var helpers = {
Rosanny Sihombing's avatar
Rosanny Sihombing committed
2
    stringToArray: function (input:string){
Rosanny Sihombing's avatar
Rosanny Sihombing 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;