source: node_modules/ramda-adjunct/src/list.js@ d24f17c

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

Initial commit

  • Property mode set to 100644
File size: 547 bytes
Line 
1import { unapply, identity } from 'ramda';
2
3/**
4 * Creates a list from arguments.
5 *
6 * @func list
7 * @memberOf RA
8 * @since {@link https://char0n.github.io/ramda-adjunct/1.1.0|v1.1.0}
9 * @category List
10 * @sig a... -> [a...]
11 * @param {...*} items The items of the feature list
12 * @return {Array} New list created from items
13 * @see {@link https://github.com/ramda/ramda/wiki/Cookbook#create-a-list-function|Ramda Cookbook}
14 * @example
15 *
16 * RA.list('a', 'b', 'c'); //=> ['a', 'b', 'c']
17 */
18const list = unapply(identity);
19
20export default list;
Note: See TracBrowser for help on using the repository browser.