source: node_modules/ramda-adjunct/lib/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: 511 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5/**
6 * A function that returns new empty array on every call.
7 *
8 * @func stubArray
9 * @memberOf RA
10 * @since {@link https://char0n.github.io/ramda-adjunct/2.1.0|v2.1.0}
11 * @category Function
12 * @sig ... -> Array
13 * @return {Array} New empty array
14 * @example
15 *
16 * RA.stubArray(); //=> []
17 * RA.stubArray(1, 2, 3); //=> []
18 */
19
20var stubArray = function stubArray() {
21 return [];
22};
23var _default = stubArray;
24exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.