mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 23:37:18 -04:00
19 lines
272 B
JavaScript
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;
|