FunctionsCommonConvertStringToArrayCommonConvertStringToArray CallableCommonConvertStringToArray(s: string): number[]Converts a string of numbers split by commas to an array, sanitizes the array by removing all NaN or undefined elements.Parameterss: stringString of numbers split by commasReturns number[]Array of valid numbers from the given string
Converts a string of numbers split by commas to an array, sanitizes the array by removing all NaN or undefined elements.