Curried intrinsics
npm install curried-intrinsic
npm install curried-intrinsic
`
Goals
- [x] Object
- [x] Array
- [x] String
- [x] Number
- [x] Boolean
- [x] Math
- [x] RegExp
- [x] Map
- [x] Set
- [ ] Intl
- [x] Operators
- [ ] Spread Syntax
Why The Package Doesn't include...
thisArg Parameter
Optional parameter thisArg will be omitted from most functions that contains thisArg since it can be replaced with Function.prototype.bind().
.valueOf()
in TS Handbook, TS Team describes that Number, String, etc, should not be used because those are almost never used appropriately. \
This means most cases are needing primitive values, and .valueOf() is useless for primitives, so I don't think .valueOf()` is necessary.