curried-intrinsic
v0.1.9
Published
Curried intrinsics
Downloads
237
Readme
curried-intrinsic
Curried intrinsics
Installation
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.
Contributing
Style Guide
See style-guide.md
Special Thanks
- Lotinex - Helped making some decisions about design by discussion