diff --git a/src/Logic/Tags/TagUtils.ts b/src/Logic/Tags/TagUtils.ts index 8f4556e99..d92e22ff3 100644 --- a/src/Logic/Tags/TagUtils.ts +++ b/src/Logic/Tags/TagUtils.ts @@ -213,6 +213,11 @@ export class TagUtils { "\n" + "\n" + /** + * Converts a list of tags into the corresponding record + * + * TagUtils.KVtoProperties([new Tag("a","b"), new Tag("c","d")] // => {a: "b", c: "d"} + */ static KVtoProperties(tags: Tag[]): Record { const properties: Record = {} for (const tag of tags) {