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
|
Rev | Line | |
---|
[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 |
|
---|
| 16 | const stubArray = () => [];
|
---|
| 17 |
|
---|
| 18 | export default stubArray;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.