Here's an example function that takes a formula as a string and returns an array of zeros with the same length as the formula:
index.tsx114 chars6 lines
To use this function, you can pass in the formula string as an argument:
index.tsx107 chars4 lines
This will return an array of zeros with the same length as the formula string, in this case 6.
gistlibby LogSnag