collectype / utils/pipe/pipeFunctions / parseArguments
parseArguments(
argString):any[]
Defined in: utils/pipe/pipeFunctions.ts:77
Parses an argument string into an array of values (booleans, numbers, strings, dates, arrays, objects).
string
The argument string
any[]
Array of parsed arguments (any[])
parseArguments('1, "foo", true, [1,2], {a:1}')
// [1, 'foo', true, [1,2], {a:1}]