Re-tag function snippets

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-18 19:42:11 +03:00
parent c2fdfac6ce
commit 8cb9469ff4
25 changed files with 28 additions and 28 deletions

View File

@ -1,6 +1,6 @@
---
title: invertKeyValues
tags: object,function,intermediate
tags: object,intermediate
---
Inverts the key-value pairs of an object, without mutating it. The corresponding inverted value of each inverted key is an array of keys responsible for generating the inverted value. If a function is supplied, it is applied to each inverted key.