Combines the given parts and returns them as an URL, avoiding duplicate slashes.
Flattens an array of arrays of items of type T, returning a single array
that consists of the concatenation of the original arrays.
This is especially useful for arrays of arrays of observables since the lodash
doesn't handle these correctly.
Generates a random UUID to set the ID of an element or unit to. There is no intrinsic ID collision detection/avoidance mechanism but it's good enough in practice.
resets the state of remembered warnings; so that all warnings are reported again.
Given a unit, generates JavaScript(/TypeScript) code that would re-create the same unit. Useful as scaffolding for model generators.
Prints a warning, but only if it has not been printed before
Generated using TypeDoc
The
utilsmodule contains various utility interfaces and functions.