Source: logic/and.js

import curry2 from "../function/curry2";

/**
 * A curried wrapper around the `&&` operator.
 *
 * @param {any} a
 * @param {any} b
 * @return {any}
 */
const and = (a, b) => a && b;

export default curry2(and);