1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-06 22:27:21 -05:00
notes/node_modules/lodash/stubTrue.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05: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;