and

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
3
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
797 B
Returns `true` if both arguments are `true`; `false` otherwise.
1 contributor
Install and as a package?
Copied
npm i @bit/justin-capalbo.ramda.and
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
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';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
and (
a:Any,
b:Any
) : Any

Returns true if both arguments are true; false otherwise.

Example
R.and(true, true); //=> true
     R.and(true, false); //=> false
     R.and(false, true); //=> false
     R.and(false, false); //=> false
Arguments
a: Any
b: Any
Returns
Any

the first argument if it is falsy, otherwise the second argument.

Help and resources