make
v1.0.0arrow_drop_downv1.0.0
v0.0.1
STATUS
Passing
DOWNLOADS
33
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
550 B
Wraps a value with an array.
Like
Install make as a package?
Copied
npm i @bit/bit.utils.array.make
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
makeArray (
val:
) : *
[*]
Wraps a value with an array.
Example
Argument
val:
*
Returns
[*]
Test Summary
#makeArray() should wrap an empty string with an array | Pass |
#makeArray() should return an empty array as nil value was passed | Pass |
#makeArray() should return the same array reference if an existing array was passed | Pass |