UNPKG

foop

Version:

interfaces that describe their intentions.

15 lines (13 loc) 338 B
// use in toArr & chained-set // const objToPairs = obj => {} // // const coerceTo = type => data => { // // toBoolean // // toString // // toObject // // toArray // // toMap // // toSet // } // - [ ] would be possible to coerce values in a function wrapper, // that way we can optimize some functions more predictably