Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

pair

v0.26.1arrow_drop_down
v0.26.1
STATUS
Passing
DOWNLOADS
7
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 months ago
SIZE
804 B
subject
Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.
1 contributor
Use pair in your project ?
Copied
npm i @bit/ramda.ramda.pair
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
pair("foo", "bar");
modifieddraft
chevron_left
chevron_right
pair (
fst:*,
snd:*
) : Array

Takes two arguments, fst and snd, and returns [fst, snd].

Example
R.pair('foo', 'bar'); //=> ['foo', 'bar']
Arguments
fst: *
snd: *
Returns
Array