Stew - shysolocup/stews GitHub Wiki
Stews are built off of Sets and Maps so they DON'T allow duplicate entries
they work with most types like Arrays, Objects, Sets, Maps, etc
type: AeplClass
arguments:
- object
Any
:
thing to be converted
- splitter
String
:
what it should split by if it's a string
const { Stew } = require('stews');
// list
new Stew([ "a", "b", "c" ]); // Stew(3) [ "a", "b", "c" ]
// pair
new Stew({ key1: "val1", key2: "val2" }); // Stew(2) { key1: "val1", key2: "val2" }