UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

16 lines (15 loc) 244 B
import { nthArg } from 'ramda'; /** * Takes first argument from the arguments * * @func * @category Function * * @example * * R_.headArg('a', 'b', 'c') // a * * */ var headArg = /*#__PURE__*/nthArg(0); export default headArg;