PIbd-21_Danilov_V.V._Intern.../Lab3/node_modules/lodash/stubTrue.js

19 lines
272 B
JavaScript
Raw Permalink Normal View History

2023-12-19 20:23:11 +04:00
/**
* This method returns `true`.
*
* @static
* @memberOf _
* @since 4.13.0
* @category Util
* @returns {boolean} Returns `true`.
* @example
*
* _.times(2, _.stubTrue);
* // => [true, true]
*/
function stubTrue() {
return true;
}
module.exports = stubTrue;