ramda-adjunct
Version:
Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
19 lines (18 loc) • 409 B
JavaScript
/**
* A function that returns new empty array on every call.
*
* @func stubArray
* @memberOf RA
* @since {@link https://char0n.github.io/ramda-adjunct/2.1.0|v2.1.0}
* @category Function
* @sig ... -> Array
* @return {Array} New empty array
* @example
*
* RA.stubArray(); //=> []
* RA.stubArray(1, 2, 3); //=> []
*/
var stubArray = function stubArray() {
return [];
};
export default stubArray;