UNPKG

bingo-functional-js

Version:

A port of the PHP bingo-functional library

15 lines (12 loc) 198 B
/** * identity function * identity :: a -> a * @param {*} value * @returns {*} * @example * * identity('foo') * // => 'foo' */ const identity = (value) => value module.exports = identity