Pibd-21_Alekseev_I.S._Inter.../IP/node_modules/lodash/stubTrue.js
VanyaAlekseev ccc3e790bb lab2
2023-12-03 16:59:28 +04: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;