ArrayUniqueItemInfo Op
Return information about the count of "duplicates" in an array, as an object
Return information about the count of "duplicates" in an array, as an object
Summary (oneliner)
when given an array with "non" unique items, like:
const a = [
"maus",
"hund",
"maus",
"katze",
"maus",
];
will return an object with information on the ocurrences of every unique value, so:
{
"hund" : 1,
"katze": 1,
"maus": 3,
};
Full Name
- Ops.Array.ArrayUniqueItemInfo
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
array (Array)
OUTPUT PORTS
objectOut (Object)