pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
10 lines (9 loc) • 369 B
TypeScript
/**
* Creates a list of all possible combinations of the given strings.
* @example
* const out2 = createStringVariations('name is {chicken,wolf,sheep}');
* console.log(out2); // [ 'name is chicken', 'name is wolf', 'name is sheep' ]
* @param string - The string to process
* @internal
*/
export declare function createStringVariations(string: string): string[];