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

utils/and
v1.1.0
1.1.0
MIT
PUBLIC
3
1     DEPENDENCIES
Build: fail
BuildFail
Build Status: fail
Returns `true` if both arguments are `true`; `false` otherwise.

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/and in your project
npm i @bit/bit.ramda.utils.and
Copied

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.