Creates a list of all possible combinations of the given strings.
The string to process
const out2 = createStringVariations('name is {chicken,wolf,sheep}');console.log(out2); // [ 'name is chicken', 'name is wolf', 'name is sheep' ] Copy
const out2 = createStringVariations('name is {chicken,wolf,sheep}');console.log(out2); // [ 'name is chicken', 'name is wolf', 'name is sheep' ]
Generated using TypeDoc
Creates a list of all possible combinations of the given strings.