Newer
Older
alert / js / node_modules / lodash / stubTrue.js
@Réz István Réz István on 18 Nov 2021 272 bytes first commit
/**
 * 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;