source: node_modules/ramda-adjunct/src/stubArray.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 384 bytes
RevLine 
[d24f17c]1/**
2 * A function that returns new empty array on every call.
3 *
4 * @func stubArray
5 * @memberOf RA
6 * @since {@link https://char0n.github.io/ramda-adjunct/2.1.0|v2.1.0}
7 * @category Function
8 * @sig ... -> Array
9 * @return {Array} New empty array
10 * @example
11 *
12 * RA.stubArray(); //=> []
13 * RA.stubArray(1, 2, 3); //=> []
14 */
15
16const stubArray = () => [];
17
18export default stubArray;
Note: See TracBrowser for help on using the repository browser.