foop
Version:
interfaces that describe their intentions.
23 lines (22 loc) • 611 B
TypeScript
// unused
// @TODO options for merging arr, and on any type combo
// const todoOpts = {
// // when: { left(cb), right(cb) }
// // whenLeft(cb): {}
// objToArr: false, // not implemented
// stringConcat: false, // not implemented
// numberOperation: "+ * ^ toarr cb",
// promises... wait until finished then call merge???
// boolPrefer: 0, 1, true, false
// boolAsRight: true,
//
// }
// function getDefaults() {
// return {
// arrayMerge: defaultArrayMerge,
// stringToArray: true,
// boolToArray: false,
// ignoreTypes: ['null', 'undefined'],
// // debug: true,
// }
// }