UNPKG

101

Version:

common javascript utils that can be required selectively that assume es5+

17 lines (14 loc) 234 B
/** * @module 101/and */ /** * Functional version of && * @function module:101/and * @param {*} a - any value * @param {*} b - any value * @return {*} a && b */ module.exports = and; function and (a, b) { return a && b; }