Ramda Adjunct 4.0.0

stubObj.js

  1. /**
  2. * This function returns a new empty object.
  3. *
  4. * @func stubObj
  5. * @memberOf RA
  6. * @since {@link https://char0n.github.io/ramda-adjunct/2.1.0|v2.1.0}
  7. * @category Function
  8. * @sig ... -> Object
  9. * @aliases stubObject
  10. * @return {Object} Returns the new empty object.
  11. * @example
  12. *
  13. * RA.stubObj(); //=> {}
  14. * RA.stubObj(1, 2, 3); //=> {}
  15. */
  16. const stubObj = () => ({});
  17. export default stubObj;