Skip to content
loading...

re: Convert to 2 functions to one function VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You could do something like this for your first function, then just combine your options for the second function into the map/set, assuming those o...
 

Thanks Derek :) I will test it out and let you know how it goes.

 

Sure thing! My original idea was actually to just take any of your strings (assuming it's not an option that returns C or the large array from the default of E) and remove any index after 0 and return that inside an array, as something like W, W1 and W2 all map to the same value, but I don't know what the rest of your data looks like in order to do this.

P.S. Sorry you got downvoted on SO, people on there are so dumb :(

code of conduct - report abuse