PIbd-22.-Stroev-V.M.-Intern.../Lab2/node_modules/lodash/stubTrue.js
2023-10-28 00:49:09 +03:00

19 lines
272 B
JavaScript

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