Lines Matching refs:LazyWrapper
1691 if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
1827 function LazyWrapper(value) {
1842 * @memberOf LazyWrapper
1843 * @returns {Object} Returns the cloned `LazyWrapper` object.
1846 var result = new LazyWrapper(this.__wrapped__);
1861 * @memberOf LazyWrapper
1862 * @returns {Object} Returns the new reversed `LazyWrapper` object.
1866 var result = new LazyWrapper(this);
1881 * @memberOf LazyWrapper
1933 // Ensure `LazyWrapper` is an instance of `baseLodash`.
1934 LazyWrapper.prototype = baseCreate(baseLodash.prototype);
1935 LazyWrapper.prototype.constructor = LazyWrapper;
4426 if (result instanceof LazyWrapper) {
6405 if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
6870 if (wrapper instanceof LazyWrapper) {
8885 !(value instanceof LazyWrapper) || !isIndex(start)) {
9083 if (value instanceof LazyWrapper) {
9086 wrapped = new LazyWrapper(this);
16965 // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.
16967 LazyWrapper.prototype[methodName] = function(n) {
16971 ? new LazyWrapper(this)
16985 LazyWrapper.prototype[methodName + 'Right'] = function(n) {
16990 // Add `LazyWrapper` methods that accept an `iteratee` value.
16995 LazyWrapper.prototype[methodName] = function(iteratee) {
17006 // Add `LazyWrapper` methods for `_.head` and `_.last`.
17010 LazyWrapper.prototype[methodName] = function() {
17015 // Add `LazyWrapper` methods for `_.initial` and `_.tail`.
17019 LazyWrapper.prototype[methodName] = function() {
17020 return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
17024 LazyWrapper.prototype.compact = function() {
17028 LazyWrapper.prototype.find = function(predicate) {
17032 LazyWrapper.prototype.findLast = function(predicate) {
17036 LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {
17038 return new LazyWrapper(this);
17045 LazyWrapper.prototype.reject = function(predicate) {
17049 LazyWrapper.prototype.slice = function(start, end) {
17054 return new LazyWrapper(result);
17068 LazyWrapper.prototype.takeRightWhile = function(predicate) {
17072 LazyWrapper.prototype.toArray = function() {
17076 // Add `LazyWrapper` methods to `lodash.prototype`.
17077 baseForOwn(LazyWrapper.prototype, function(func, methodName) {
17089 isLazy = value instanceof LazyWrapper,
17108 value = onlyLazy ? value : new LazyWrapper(this);
17140 baseForOwn(LazyWrapper.prototype, function(func, methodName) {
17156 // Add methods to `LazyWrapper`.
17157 LazyWrapper.prototype.clone = lazyClone;
17158 LazyWrapper.prototype.reverse = lazyReverse;
17159 LazyWrapper.prototype.value = lazyValue;