revType
Convert Javascript data structures into their typed counterparts.
Input:
; const object = stuff: {} things: nil: null name: 'tommy' male: false age: 29 mom: name: 'mommy' male: false age: 28 jobs: 'cooking' 'cleaning' 'beasting' title: 'boss' location: 'home' salary: 0 ; const revved = revtype;console;
Output:
Todo:
- Support for Map
- Support for WeakMap
- Support for Set
- Support for homeless people.