UNPKG

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 (16 loc) 384 B
/** * 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); //=> [] */ const stubArray = () => []; export default stubArray;