StaticbinaryStaticcontains2StaticflatArray.flat(), introduced in ES2019, polyfilled here to stick with ES2017 target in tsconfig.json. Performance tests: https://github.com/opensheetmusicdisplay/opensheetmusicdisplay/issues/1299#issuecomment-1399062038
StaticgetStaticlastStaticremoveIterates through a dictionary and calls iterationFunction. If iterationFunction returns true the key gets stored. all stored key will finally be removed from the dictionary.
This class implements static methods to perform useful operations on lists, dictionaries, ...