swc/bundler/tests/.cache/deno/27462e170380c6afdec6fd4a7bcf61d114bb0d3a.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

28 lines
638 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/of.js
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 = _curry1(_of);
export default of;