Share your code. Components are building blocks, you are the architect.

utils/of
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns a singleton array containing the value provided

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/of in your project
npm i @bit/bit.ramda.utils.of
Copied

of (x:*) : Array

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

Example

R.of(null); //=> [null]
     R.of([42]); //=> [[42]]

Argument

x: *

any value

Returns

Array

An array wrapping `x`.