getorset-anything

Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.

Browse on unpkg