cs142/project2/node_modules/lodash/stubFalse.js

19 lines
280 B
JavaScript
Raw Permalink Normal View History

2020-08-01 22:26:11 +00:00
/**
* This method returns `false`.
*
* @static
* @memberOf _
* @since 4.13.0
* @category Util
* @returns {boolean} Returns `false`.
* @example
*
* _.times(2, _.stubFalse);
* // => [false, false]
*/
function stubFalse() {
return false;
}
module.exports = stubFalse;