init
This commit is contained in:
26
node_modules/ramda/es/of.js
generated
vendored
Normal file
26
node_modules/ramda/es/of.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import _curry1 from "./internal/_curry1.js";
|
||||
import _of from "./internal/_of.js";
|
||||
/**
|
||||
* Returns a singleton array containing the value provided.
|
||||
*
|
||||
* Note this `of` is different from the ES6 `of`; See
|
||||
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of
|
||||
*
|
||||
* @func
|
||||
* @memberOf R
|
||||
* @since v0.3.0
|
||||
* @category Function
|
||||
* @sig a -> [a]
|
||||
* @param {*} x any value
|
||||
* @return {Array} An array wrapping `x`.
|
||||
* @example
|
||||
*
|
||||
* R.of(null); //=> [null]
|
||||
* R.of([42]); //=> [[42]]
|
||||
*/
|
||||
|
||||
var of =
|
||||
/*#__PURE__*/
|
||||
_curry1(_of);
|
||||
|
||||
export default of;
|
Reference in New Issue
Block a user