How about hi-order?
StreetStrider opened this issue · comments
High-order counterpart:
var niceTry = require('nice-try/method')
var parse = niceTry((...args) => JSON.parse(...args))
// or
var parse = niceTry(JSON.parse)
// then
var value = parse('true')
I like the idea, but I'm currently not planning to add a high-order counterpart.