wishthis/node_modules/lodash/stubFalse.js
2022-01-21 09:28:41 +01:00

18 lines
280 B
JavaScript

/**
* 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;