@dxyl/utils 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +8479 -4436
- package/dist/index.umd.js +38 -3
- package/package.json +1 -1
- package/types/events/eventTarget.d.ts +47 -80
- package/types/lodash/_DataView.d.ts +2 -0
- package/types/lodash/_Hash.d.ts +29 -0
- package/types/lodash/_LazyWrapper.d.ts +26 -0
- package/types/lodash/_ListCache.d.ts +29 -0
- package/types/lodash/_LodashWrapper.d.ts +24 -0
- package/types/lodash/_Map.d.ts +2 -0
- package/types/lodash/_MapCache.d.ts +29 -0
- package/types/lodash/_Promise.d.ts +2 -0
- package/types/lodash/_Set.d.ts +2 -0
- package/types/lodash/_SetCache.d.ts +28 -0
- package/types/lodash/_Stack.d.ts +32 -0
- package/types/lodash/_Symbol.d.ts +3 -0
- package/types/lodash/_Uint8Array.d.ts +3 -0
- package/types/lodash/_WeakMap.d.ts +2 -0
- package/types/lodash/_addMapEntry.d.ts +10 -0
- package/types/lodash/_addSetEntry.d.ts +10 -0
- package/types/lodash/_apply.d.ts +12 -0
- package/types/lodash/_arrayAggregator.d.ts +12 -0
- package/types/lodash/_arrayEach.d.ts +11 -0
- package/types/lodash/_arrayEachRight.d.ts +11 -0
- package/types/lodash/_arrayEvery.d.ts +12 -0
- package/types/lodash/_arrayFilter.d.ts +11 -0
- package/types/lodash/_arrayIncludes.d.ts +11 -0
- package/types/lodash/_arrayIncludesWith.d.ts +11 -0
- package/types/lodash/_arrayLikeKeys.d.ts +10 -0
- package/types/lodash/_arrayMap.d.ts +11 -0
- package/types/lodash/_arrayPush.d.ts +10 -0
- package/types/lodash/_arrayReduce.d.ts +14 -0
- package/types/lodash/_arrayReduceRight.d.ts +14 -0
- package/types/lodash/_arraySample.d.ts +9 -0
- package/types/lodash/_arraySampleSize.d.ts +10 -0
- package/types/lodash/_arrayShuffle.d.ts +9 -0
- package/types/lodash/_arraySome.d.ts +12 -0
- package/types/lodash/_asciiSize.d.ts +9 -0
- package/types/lodash/_asciiToArray.d.ts +9 -0
- package/types/lodash/_asciiWords.d.ts +9 -0
- package/types/lodash/_assignMergeValue.d.ts +11 -0
- package/types/lodash/_assignValue.d.ts +12 -0
- package/types/lodash/_assocIndexOf.d.ts +10 -0
- package/types/lodash/_baseAggregator.d.ts +13 -0
- package/types/lodash/_baseAssign.d.ts +11 -0
- package/types/lodash/_baseAssignIn.d.ts +11 -0
- package/types/lodash/_baseAssignValue.d.ts +11 -0
- package/types/lodash/_baseAt.d.ts +10 -0
- package/types/lodash/_baseClamp.d.ts +11 -0
- package/types/lodash/_baseClone.d.ts +18 -0
- package/types/lodash/_baseConforms.d.ts +9 -0
- package/types/lodash/_baseConformsTo.d.ts +10 -0
- package/types/lodash/_baseCreate.d.ts +2 -0
- package/types/lodash/_baseDelay.d.ts +12 -0
- package/types/lodash/_baseDifference.d.ts +13 -0
- package/types/lodash/_baseEach.d.ts +10 -0
- package/types/lodash/_baseEachRight.d.ts +10 -0
- package/types/lodash/_baseEvery.d.ts +11 -0
- package/types/lodash/_baseExtremum.d.ts +12 -0
- package/types/lodash/_baseFill.d.ts +12 -0
- package/types/lodash/_baseFilter.d.ts +10 -0
- package/types/lodash/_baseFindIndex.d.ts +13 -0
- package/types/lodash/_baseFindKey.d.ts +13 -0
- package/types/lodash/_baseFlatten.d.ts +13 -0
- package/types/lodash/_baseFor.d.ts +13 -0
- package/types/lodash/_baseForOwn.d.ts +10 -0
- package/types/lodash/_baseForOwnRight.d.ts +10 -0
- package/types/lodash/_baseForRight.d.ts +12 -0
- package/types/lodash/_baseFunctions.d.ts +11 -0
- package/types/lodash/_baseGet.d.ts +10 -0
- package/types/lodash/_baseGetAllKeys.d.ts +13 -0
- package/types/lodash/_baseGetTag.d.ts +9 -0
- package/types/lodash/_baseGt.d.ts +11 -0
- package/types/lodash/_baseHas.d.ts +10 -0
- package/types/lodash/_baseHasIn.d.ts +10 -0
- package/types/lodash/_baseInRange.d.ts +11 -0
- package/types/lodash/_baseIndexOf.d.ts +11 -0
- package/types/lodash/_baseIndexOfWith.d.ts +12 -0
- package/types/lodash/_baseIntersection.d.ts +12 -0
- package/types/lodash/_baseInverter.d.ts +13 -0
- package/types/lodash/_baseInvoke.d.ts +12 -0
- package/types/lodash/_baseIsArguments.d.ts +9 -0
- package/types/lodash/_baseIsArrayBuffer.d.ts +9 -0
- package/types/lodash/_baseIsDate.d.ts +9 -0
- package/types/lodash/_baseIsEqual.d.ts +16 -0
- package/types/lodash/_baseIsEqualDeep.d.ts +16 -0
- package/types/lodash/_baseIsMap.d.ts +9 -0
- package/types/lodash/_baseIsMatch.d.ts +12 -0
- package/types/lodash/_baseIsNaN.d.ts +9 -0
- package/types/lodash/_baseIsNative.d.ts +10 -0
- package/types/lodash/_baseIsRegExp.d.ts +9 -0
- package/types/lodash/_baseIsSet.d.ts +9 -0
- package/types/lodash/_baseIsTypedArray.d.ts +9 -0
- package/types/lodash/_baseIteratee.d.ts +9 -0
- package/types/lodash/_baseKeys.d.ts +9 -0
- package/types/lodash/_baseKeysIn.d.ts +9 -0
- package/types/lodash/_baseLodash.d.ts +7 -0
- package/types/lodash/_baseLt.d.ts +11 -0
- package/types/lodash/_baseMap.d.ts +10 -0
- package/types/lodash/_baseMatches.d.ts +9 -0
- package/types/lodash/_baseMatchesProperty.d.ts +10 -0
- package/types/lodash/_baseMean.d.ts +11 -0
- package/types/lodash/_baseMerge.d.ts +13 -0
- package/types/lodash/_baseMergeDeep.d.ts +17 -0
- package/types/lodash/_baseNth.d.ts +10 -0
- package/types/lodash/_baseOrderBy.d.ts +11 -0
- package/types/lodash/_basePick.d.ts +11 -0
- package/types/lodash/_basePickBy.d.ts +11 -0
- package/types/lodash/_baseProperty.d.ts +9 -0
- package/types/lodash/_basePropertyDeep.d.ts +9 -0
- package/types/lodash/_basePropertyOf.d.ts +9 -0
- package/types/lodash/_basePullAll.d.ts +13 -0
- package/types/lodash/_basePullAt.d.ts +11 -0
- package/types/lodash/_baseRandom.d.ts +11 -0
- package/types/lodash/_baseRange.d.ts +13 -0
- package/types/lodash/_baseReduce.d.ts +15 -0
- package/types/lodash/_baseRepeat.d.ts +10 -0
- package/types/lodash/_baseRest.d.ts +10 -0
- package/types/lodash/_baseSample.d.ts +9 -0
- package/types/lodash/_baseSampleSize.d.ts +10 -0
- package/types/lodash/_baseSet.d.ts +12 -0
- package/types/lodash/_baseSetData.d.ts +10 -0
- package/types/lodash/_baseSetToString.d.ts +10 -0
- package/types/lodash/_baseShuffle.d.ts +9 -0
- package/types/lodash/_baseSlice.d.ts +11 -0
- package/types/lodash/_baseSome.d.ts +11 -0
- package/types/lodash/_baseSortBy.d.ts +12 -0
- package/types/lodash/_baseSortedIndex.d.ts +14 -0
- package/types/lodash/_baseSortedIndexBy.d.ts +15 -0
- package/types/lodash/_baseSortedUniq.d.ts +11 -0
- package/types/lodash/_baseSum.d.ts +11 -0
- package/types/lodash/_baseTimes.d.ts +11 -0
- package/types/lodash/_baseToNumber.d.ts +10 -0
- package/types/lodash/_baseToPairs.d.ts +11 -0
- package/types/lodash/_baseToString.d.ts +10 -0
- package/types/lodash/_baseTrim.d.ts +9 -0
- package/types/lodash/_baseUnary.d.ts +9 -0
- package/types/lodash/_baseUniq.d.ts +11 -0
- package/types/lodash/_baseUnset.d.ts +10 -0
- package/types/lodash/_baseUpdate.d.ts +12 -0
- package/types/lodash/_baseValues.d.ts +12 -0
- package/types/lodash/_baseWhile.d.ts +13 -0
- package/types/lodash/_baseWrapperValue.d.ts +12 -0
- package/types/lodash/_baseXor.d.ts +12 -0
- package/types/lodash/_baseZipObject.d.ts +11 -0
- package/types/lodash/_cacheHas.d.ts +10 -0
- package/types/lodash/_castArrayLikeObject.d.ts +9 -0
- package/types/lodash/_castFunction.d.ts +9 -0
- package/types/lodash/_castPath.d.ts +10 -0
- package/types/lodash/_castRest.d.ts +11 -0
- package/types/lodash/_castSlice.d.ts +11 -0
- package/types/lodash/_charsEndIndex.d.ts +11 -0
- package/types/lodash/_charsStartIndex.d.ts +11 -0
- package/types/lodash/_cloneArrayBuffer.d.ts +9 -0
- package/types/lodash/_cloneBuffer.d.ts +10 -0
- package/types/lodash/_cloneDataView.d.ts +10 -0
- package/types/lodash/_cloneMap.d.ts +11 -0
- package/types/lodash/_cloneRegExp.d.ts +9 -0
- package/types/lodash/_cloneSet.d.ts +11 -0
- package/types/lodash/_cloneSymbol.d.ts +9 -0
- package/types/lodash/_cloneTypedArray.d.ts +10 -0
- package/types/lodash/_compareAscending.d.ts +10 -0
- package/types/lodash/_compareMultiple.d.ts +16 -0
- package/types/lodash/_composeArgs.d.ts +13 -0
- package/types/lodash/_composeArgsRight.d.ts +13 -0
- package/types/lodash/_copyArray.d.ts +10 -0
- package/types/lodash/_copyObject.d.ts +12 -0
- package/types/lodash/_copySymbols.d.ts +10 -0
- package/types/lodash/_copySymbolsIn.d.ts +10 -0
- package/types/lodash/_coreJsData.d.ts +3 -0
- package/types/lodash/_countHolders.d.ts +10 -0
- package/types/lodash/_createAggregator.d.ts +10 -0
- package/types/lodash/_createAssigner.d.ts +9 -0
- package/types/lodash/_createBaseEach.d.ts +10 -0
- package/types/lodash/_createBaseFor.d.ts +9 -0
- package/types/lodash/_createBind.d.ts +12 -0
- package/types/lodash/_createCaseFirst.d.ts +9 -0
- package/types/lodash/_createCompounder.d.ts +9 -0
- package/types/lodash/_createCtor.d.ts +10 -0
- package/types/lodash/_createCurry.d.ts +11 -0
- package/types/lodash/_createFind.d.ts +9 -0
- package/types/lodash/_createFlow.d.ts +9 -0
- package/types/lodash/_createHybrid.d.ts +21 -0
- package/types/lodash/_createInverter.d.ts +10 -0
- package/types/lodash/_createMathOperation.d.ts +10 -0
- package/types/lodash/_createOver.d.ts +9 -0
- package/types/lodash/_createPadding.d.ts +11 -0
- package/types/lodash/_createPartial.d.ts +14 -0
- package/types/lodash/_createRange.d.ts +9 -0
- package/types/lodash/_createRecurry.d.ts +19 -0
- package/types/lodash/_createRelationalOperation.d.ts +9 -0
- package/types/lodash/_createRound.d.ts +9 -0
- package/types/lodash/_createSet.d.ts +9 -0
- package/types/lodash/_createToPairs.d.ts +9 -0
- package/types/lodash/_createWrap.d.ts +27 -0
- package/types/lodash/_customDefaultsAssignIn.d.ts +14 -0
- package/types/lodash/_customDefaultsMerge.d.ts +16 -0
- package/types/lodash/_customOmitClone.d.ts +11 -0
- package/types/lodash/_deburrLetter.d.ts +10 -0
- package/types/lodash/_defineProperty.d.ts +2 -0
- package/types/lodash/_equalArrays.d.ts +15 -0
- package/types/lodash/_equalByTag.d.ts +19 -0
- package/types/lodash/_equalObjects.d.ts +15 -0
- package/types/lodash/_escapeHtmlChar.d.ts +9 -0
- package/types/lodash/_escapeStringChar.d.ts +9 -0
- package/types/lodash/_flatRest.d.ts +9 -0
- package/types/lodash/_freeGlobal.d.ts +3 -0
- package/types/lodash/_getAllKeys.d.ts +9 -0
- package/types/lodash/_getAllKeysIn.d.ts +10 -0
- package/types/lodash/_getData.d.ts +9 -0
- package/types/lodash/_getFuncName.d.ts +9 -0
- package/types/lodash/_getHolder.d.ts +9 -0
- package/types/lodash/_getMapData.d.ts +10 -0
- package/types/lodash/_getMatchData.d.ts +9 -0
- package/types/lodash/_getNative.d.ts +10 -0
- package/types/lodash/_getPrototype.d.ts +3 -0
- package/types/lodash/_getRawTag.d.ts +9 -0
- package/types/lodash/_getSymbols.d.ts +9 -0
- package/types/lodash/_getSymbolsIn.d.ts +9 -0
- package/types/lodash/_getTag.d.ts +10 -0
- package/types/lodash/_getValue.d.ts +10 -0
- package/types/lodash/_getView.d.ts +12 -0
- package/types/lodash/_getWrapDetails.d.ts +9 -0
- package/types/lodash/_hasPath.d.ts +11 -0
- package/types/lodash/_hasUnicode.d.ts +9 -0
- package/types/lodash/_hasUnicodeWord.d.ts +9 -0
- package/types/lodash/_hashClear.d.ts +13 -0
- package/types/lodash/_hashDelete.d.ts +12 -0
- package/types/lodash/_hashGet.d.ts +11 -0
- package/types/lodash/_hashHas.d.ts +11 -0
- package/types/lodash/_hashSet.d.ts +12 -0
- package/types/lodash/_initCloneArray.d.ts +9 -0
- package/types/lodash/_initCloneByTag.d.ts +14 -0
- package/types/lodash/_initCloneObject.d.ts +9 -0
- package/types/lodash/_insertWrapDetails.d.ts +10 -0
- package/types/lodash/_isFlattenable.d.ts +9 -0
- package/types/lodash/_isIndex.d.ts +10 -0
- package/types/lodash/_isIterateeCall.d.ts +12 -0
- package/types/lodash/_isKey.d.ts +10 -0
- package/types/lodash/_isKeyable.d.ts +9 -0
- package/types/lodash/_isLaziable.d.ts +10 -0
- package/types/lodash/_isMaskable.d.ts +9 -0
- package/types/lodash/_isMasked.d.ts +9 -0
- package/types/lodash/_isPrototype.d.ts +9 -0
- package/types/lodash/_isStrictComparable.d.ts +10 -0
- package/types/lodash/_iteratorToArray.d.ts +9 -0
- package/types/lodash/_lazyClone.d.ts +10 -0
- package/types/lodash/_lazyReverse.d.ts +10 -0
- package/types/lodash/_lazyValue.d.ts +10 -0
- package/types/lodash/_listCacheClear.d.ts +13 -0
- package/types/lodash/_listCacheDelete.d.ts +11 -0
- package/types/lodash/_listCacheGet.d.ts +11 -0
- package/types/lodash/_listCacheHas.d.ts +11 -0
- package/types/lodash/_listCacheSet.d.ts +12 -0
- package/types/lodash/_mapCacheClear.d.ts +18 -0
- package/types/lodash/_mapCacheDelete.d.ts +11 -0
- package/types/lodash/_mapCacheGet.d.ts +11 -0
- package/types/lodash/_mapCacheHas.d.ts +11 -0
- package/types/lodash/_mapCacheSet.d.ts +12 -0
- package/types/lodash/_mapToArray.d.ts +9 -0
- package/types/lodash/_matchesStrictComparable.d.ts +11 -0
- package/types/lodash/_memoizeCapped.d.ts +10 -0
- package/types/lodash/_mergeData.d.ts +18 -0
- package/types/lodash/_metaMap.d.ts +3 -0
- package/types/lodash/_nativeCreate.d.ts +2 -0
- package/types/lodash/_nativeKeys.d.ts +2 -0
- package/types/lodash/_nativeKeysIn.d.ts +11 -0
- package/types/lodash/_nodeUtil.d.ts +3 -0
- package/types/lodash/_objectToString.d.ts +9 -0
- package/types/lodash/_overArg.d.ts +10 -0
- package/types/lodash/_overRest.d.ts +11 -0
- package/types/lodash/_parent.d.ts +10 -0
- package/types/lodash/_reEscape.d.ts +3 -0
- package/types/lodash/_reEvaluate.d.ts +3 -0
- package/types/lodash/_reInterpolate.d.ts +3 -0
- package/types/lodash/_realNames.d.ts +3 -0
- package/types/lodash/_reorder.d.ts +12 -0
- package/types/lodash/_replaceHolders.d.ts +11 -0
- package/types/lodash/_root.d.ts +3 -0
- package/types/lodash/_safeGet.d.ts +10 -0
- package/types/lodash/_setCacheAdd.d.ts +12 -0
- package/types/lodash/_setCacheHas.d.ts +11 -0
- package/types/lodash/_setData.d.ts +16 -0
- package/types/lodash/_setToArray.d.ts +9 -0
- package/types/lodash/_setToPairs.d.ts +9 -0
- package/types/lodash/_setToString.d.ts +10 -0
- package/types/lodash/_setWrapToString.d.ts +12 -0
- package/types/lodash/_shortOut.d.ts +11 -0
- package/types/lodash/_shuffleSelf.d.ts +10 -0
- package/types/lodash/_stackClear.d.ts +14 -0
- package/types/lodash/_stackDelete.d.ts +24 -0
- package/types/lodash/_stackGet.d.ts +11 -0
- package/types/lodash/_stackHas.d.ts +11 -0
- package/types/lodash/_stackSet.d.ts +28 -0
- package/types/lodash/_strictIndexOf.d.ts +12 -0
- package/types/lodash/_strictLastIndexOf.d.ts +12 -0
- package/types/lodash/_stringSize.d.ts +9 -0
- package/types/lodash/_stringToArray.d.ts +9 -0
- package/types/lodash/_stringToPath.d.ts +9 -0
- package/types/lodash/_toKey.d.ts +9 -0
- package/types/lodash/_toSource.d.ts +9 -0
- package/types/lodash/_trimmedEndIndex.d.ts +10 -0
- package/types/lodash/_unescapeHtmlChar.d.ts +9 -0
- package/types/lodash/_unicodeSize.d.ts +9 -0
- package/types/lodash/_unicodeToArray.d.ts +9 -0
- package/types/lodash/_unicodeWords.d.ts +9 -0
- package/types/lodash/_updateWrapDetails.d.ts +10 -0
- package/types/lodash/_wrapperClone.d.ts +9 -0
- package/types/lodash/add.d.ts +2 -0
- package/types/lodash/after.d.ts +2 -0
- package/types/lodash/array.d.ts +66 -0
- package/types/lodash/array.default.d.ts +133 -0
- package/types/lodash/ary.d.ts +2 -0
- package/types/lodash/assign.d.ts +2 -0
- package/types/lodash/assignIn.d.ts +2 -0
- package/types/lodash/assignInWith.d.ts +2 -0
- package/types/lodash/assignWith.d.ts +2 -0
- package/types/lodash/at.d.ts +2 -0
- package/types/lodash/attempt.d.ts +2 -0
- package/types/lodash/before.d.ts +2 -0
- package/types/lodash/bind.d.ts +2 -0
- package/types/lodash/bindAll.d.ts +2 -0
- package/types/lodash/bindKey.d.ts +2 -0
- package/types/lodash/camelCase.d.ts +2 -0
- package/types/lodash/capitalize.d.ts +2 -0
- package/types/lodash/castArray.d.ts +2 -0
- package/types/lodash/ceil.d.ts +2 -0
- package/types/lodash/chain.d.ts +2 -0
- package/types/lodash/chunk.d.ts +2 -0
- package/types/lodash/clamp.d.ts +1 -1
- package/types/lodash/clone.d.ts +1 -1
- package/types/lodash/cloneDeep.d.ts +2 -0
- package/types/lodash/cloneDeepWith.d.ts +2 -0
- package/types/lodash/cloneWith.d.ts +2 -0
- package/types/lodash/collection.d.ts +29 -0
- package/types/lodash/collection.default.d.ts +59 -0
- package/types/lodash/commit.d.ts +28 -0
- package/types/lodash/compact.d.ts +2 -0
- package/types/lodash/concat.d.ts +2 -0
- package/types/lodash/cond.d.ts +2 -0
- package/types/lodash/conforms.d.ts +2 -0
- package/types/lodash/conformsTo.d.ts +2 -0
- package/types/lodash/constant.d.ts +2 -0
- package/types/lodash/countBy.d.ts +2 -0
- package/types/lodash/create.d.ts +2 -0
- package/types/lodash/curry.d.ts +2 -0
- package/types/lodash/curryRight.d.ts +2 -0
- package/types/lodash/date.d.ts +2 -0
- package/types/lodash/date.default.d.ts +5 -0
- package/types/lodash/debounce.d.ts +2 -1
- package/types/lodash/deburr.d.ts +2 -0
- package/types/lodash/defaultTo.d.ts +2 -0
- package/types/lodash/defaults.d.ts +2 -0
- package/types/lodash/defaultsDeep.d.ts +2 -0
- package/types/lodash/defer.d.ts +2 -0
- package/types/lodash/delay.d.ts +2 -0
- package/types/lodash/difference.d.ts +1 -10
- package/types/lodash/differenceBy.d.ts +2 -0
- package/types/lodash/differenceWith.d.ts +2 -0
- package/types/lodash/divide.d.ts +2 -0
- package/types/lodash/drop.d.ts +2 -0
- package/types/lodash/dropRight.d.ts +2 -0
- package/types/lodash/dropRightWhile.d.ts +2 -0
- package/types/lodash/dropWhile.d.ts +2 -0
- package/types/lodash/each.d.ts +1 -1
- package/types/lodash/eachRight.d.ts +2 -0
- package/types/lodash/endsWith.d.ts +2 -0
- package/types/lodash/entries.d.ts +2 -0
- package/types/lodash/entriesIn.d.ts +2 -0
- package/types/lodash/eq.d.ts +2 -0
- package/types/lodash/escape.d.ts +2 -0
- package/types/lodash/escapeRegExp.d.ts +2 -0
- package/types/lodash/every.d.ts +1 -6
- package/types/lodash/extend.d.ts +1 -1
- package/types/lodash/extendWith.d.ts +2 -0
- package/types/lodash/fill.d.ts +2 -0
- package/types/lodash/filter.d.ts +1 -1
- package/types/lodash/find.d.ts +1 -2
- package/types/lodash/findIndex.d.ts +2 -0
- package/types/lodash/findKey.d.ts +2 -0
- package/types/lodash/findLast.d.ts +2 -0
- package/types/lodash/findLastIndex.d.ts +2 -0
- package/types/lodash/findLastKey.d.ts +2 -0
- package/types/lodash/first.d.ts +2 -0
- package/types/lodash/flatMap.d.ts +2 -0
- package/types/lodash/flatMapDeep.d.ts +2 -0
- package/types/lodash/flatMapDepth.d.ts +2 -0
- package/types/lodash/flatten.d.ts +1 -10
- package/types/lodash/flattenDeep.d.ts +2 -0
- package/types/lodash/flattenDepth.d.ts +2 -0
- package/types/lodash/flip.d.ts +2 -0
- package/types/lodash/floor.d.ts +2 -0
- package/types/lodash/flow.d.ts +2 -0
- package/types/lodash/flowRight.d.ts +2 -0
- package/types/lodash/forEach.d.ts +2 -0
- package/types/lodash/forEachRight.d.ts +2 -0
- package/types/lodash/forIn.d.ts +2 -0
- package/types/lodash/forInRight.d.ts +2 -0
- package/types/lodash/forOwn.d.ts +2 -0
- package/types/lodash/forOwnRight.d.ts +2 -0
- package/types/lodash/fromPairs.d.ts +2 -0
- package/types/lodash/function.d.ts +24 -0
- package/types/lodash/function.default.d.ts +49 -0
- package/types/lodash/functions.d.ts +2 -0
- package/types/lodash/functionsIn.d.ts +2 -0
- package/types/lodash/get.d.ts +2 -8
- package/types/lodash/groupBy.d.ts +2 -0
- package/types/lodash/gt.d.ts +2 -0
- package/types/lodash/gte.d.ts +2 -0
- package/types/lodash/has.d.ts +2 -2
- package/types/lodash/hasIn.d.ts +2 -0
- package/types/lodash/head.d.ts +2 -1
- package/types/lodash/identity.d.ts +2 -2
- package/types/lodash/inRange.d.ts +2 -0
- package/types/lodash/includes.d.ts +2 -0
- package/types/lodash/index.d.ts +304 -108
- package/types/lodash/indexOf.d.ts +2 -0
- package/types/lodash/initial.d.ts +2 -0
- package/types/lodash/intersection.d.ts +2 -0
- package/types/lodash/intersectionBy.d.ts +2 -0
- package/types/lodash/intersectionWith.d.ts +2 -0
- package/types/lodash/invert.d.ts +2 -0
- package/types/lodash/invertBy.d.ts +2 -0
- package/types/lodash/invoke.d.ts +2 -0
- package/types/lodash/invokeMap.d.ts +2 -0
- package/types/lodash/isArguments.d.ts +2 -0
- package/types/lodash/isArray.d.ts +2 -0
- package/types/lodash/isArrayBuffer.d.ts +2 -0
- package/types/lodash/isArrayLike.d.ts +2 -0
- package/types/lodash/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/isBoolean.d.ts +2 -0
- package/types/lodash/isBuffer.d.ts +2 -0
- package/types/lodash/isDate.d.ts +2 -0
- package/types/lodash/isElement.d.ts +2 -0
- package/types/lodash/isEmpty.d.ts +2 -0
- package/types/lodash/isEqual.d.ts +2 -0
- package/types/lodash/isEqualWith.d.ts +2 -0
- package/types/lodash/isError.d.ts +2 -0
- package/types/lodash/isFinite.d.ts +2 -0
- package/types/lodash/isFunction.d.ts +2 -0
- package/types/lodash/isInteger.d.ts +2 -0
- package/types/lodash/isLength.d.ts +2 -0
- package/types/lodash/isMap.d.ts +2 -0
- package/types/lodash/isMatch.d.ts +2 -0
- package/types/lodash/isMatchWith.d.ts +2 -0
- package/types/lodash/isNaN.d.ts +2 -0
- package/types/lodash/isNative.d.ts +2 -0
- package/types/lodash/isNil.d.ts +2 -0
- package/types/lodash/isNull.d.ts +2 -0
- package/types/lodash/isNumber.d.ts +2 -0
- package/types/lodash/isObject.d.ts +2 -0
- package/types/lodash/isObjectLike.d.ts +2 -0
- package/types/lodash/isPlainObject.d.ts +2 -0
- package/types/lodash/isRegExp.d.ts +2 -0
- package/types/lodash/isSafeInteger.d.ts +2 -0
- package/types/lodash/isSet.d.ts +2 -0
- package/types/lodash/isString.d.ts +2 -0
- package/types/lodash/isSymbol.d.ts +2 -0
- package/types/lodash/isTypedArray.d.ts +2 -0
- package/types/lodash/isUndefined.d.ts +2 -0
- package/types/lodash/isWeakMap.d.ts +2 -0
- package/types/lodash/isWeakSet.d.ts +2 -0
- package/types/lodash/iteratee.d.ts +2 -0
- package/types/lodash/join.d.ts +2 -0
- package/types/lodash/kebabCase.d.ts +2 -0
- package/types/lodash/keyBy.d.ts +2 -0
- package/types/lodash/keys.d.ts +1 -1
- package/types/lodash/keysIn.d.ts +2 -0
- package/types/lodash/lang.d.ts +57 -0
- package/types/lodash/lang.default.d.ts +115 -0
- package/types/lodash/last.d.ts +2 -1
- package/types/lodash/lastIndexOf.d.ts +2 -0
- package/types/lodash/lodash.d.ts +317 -0
- package/types/lodash/lodash.default.d.ts +2 -0
- package/types/lodash/lowerCase.d.ts +2 -0
- package/types/lodash/lowerFirst.d.ts +2 -0
- package/types/lodash/lt.d.ts +2 -0
- package/types/lodash/lte.d.ts +2 -0
- package/types/lodash/map.d.ts +1 -1
- package/types/lodash/mapKeys.d.ts +2 -0
- package/types/lodash/mapValues.d.ts +2 -0
- package/types/lodash/matches.d.ts +2 -0
- package/types/lodash/matchesProperty.d.ts +2 -0
- package/types/lodash/math.d.ts +16 -0
- package/types/lodash/math.default.d.ts +33 -0
- package/types/lodash/max.d.ts +2 -19
- package/types/lodash/maxBy.d.ts +2 -0
- package/types/lodash/mean.d.ts +2 -0
- package/types/lodash/meanBy.d.ts +2 -0
- package/types/lodash/memoize.d.ts +2 -11
- package/types/lodash/merge.d.ts +2 -7
- package/types/lodash/mergeWith.d.ts +2 -0
- package/types/lodash/method.d.ts +2 -0
- package/types/lodash/methodOf.d.ts +2 -0
- package/types/lodash/min.d.ts +2 -19
- package/types/lodash/minBy.d.ts +2 -0
- package/types/lodash/mixin.d.ts +2 -0
- package/types/lodash/multiply.d.ts +2 -0
- package/types/lodash/negate.d.ts +2 -0
- package/types/lodash/next.d.ts +27 -0
- package/types/lodash/noop.d.ts +2 -2
- package/types/lodash/now.d.ts +2 -0
- package/types/lodash/nth.d.ts +2 -0
- package/types/lodash/nthArg.d.ts +2 -0
- package/types/lodash/number.d.ts +4 -0
- package/types/lodash/number.default.d.ts +9 -0
- package/types/lodash/object.d.ts +48 -0
- package/types/lodash/object.default.d.ts +97 -0
- package/types/lodash/omit.d.ts +2 -3
- package/types/lodash/omitBy.d.ts +2 -0
- package/types/lodash/once.d.ts +2 -0
- package/types/lodash/orderBy.d.ts +2 -0
- package/types/lodash/over.d.ts +2 -0
- package/types/lodash/overArgs.d.ts +2 -0
- package/types/lodash/overEvery.d.ts +2 -0
- package/types/lodash/overSome.d.ts +2 -0
- package/types/lodash/pad.d.ts +2 -0
- package/types/lodash/padEnd.d.ts +2 -0
- package/types/lodash/padStart.d.ts +2 -0
- package/types/lodash/parseInt.d.ts +2 -0
- package/types/lodash/partial.d.ts +2 -0
- package/types/lodash/partialRight.d.ts +2 -0
- package/types/lodash/partition.d.ts +2 -0
- package/types/lodash/pick.d.ts +2 -16
- package/types/lodash/pickBy.d.ts +2 -0
- package/types/lodash/plant.d.ts +26 -0
- package/types/lodash/property.d.ts +3 -0
- package/types/lodash/propertyOf.d.ts +2 -0
- package/types/lodash/pull.d.ts +1 -1
- package/types/lodash/pullAll.d.ts +2 -0
- package/types/lodash/pullAllBy.d.ts +2 -0
- package/types/lodash/pullAllWith.d.ts +2 -0
- package/types/lodash/pullAt.d.ts +2 -0
- package/types/lodash/random.d.ts +2 -0
- package/types/lodash/range.d.ts +2 -0
- package/types/lodash/rangeRight.d.ts +2 -0
- package/types/lodash/rearg.d.ts +2 -0
- package/types/lodash/reduce.d.ts +1 -2
- package/types/lodash/reduceRight.d.ts +2 -0
- package/types/lodash/reject.d.ts +2 -0
- package/types/lodash/remove.d.ts +1 -1
- package/types/lodash/repeat.d.ts +2 -0
- package/types/lodash/replace.d.ts +2 -0
- package/types/lodash/rest.d.ts +2 -0
- package/types/lodash/result.d.ts +2 -0
- package/types/lodash/reverse.d.ts +2 -0
- package/types/lodash/round.d.ts +2 -0
- package/types/lodash/sample.d.ts +2 -0
- package/types/lodash/sampleSize.d.ts +2 -0
- package/types/lodash/seq.d.ts +15 -0
- package/types/lodash/seq.default.d.ts +31 -0
- package/types/lodash/set.d.ts +2 -8
- package/types/lodash/setWith.d.ts +2 -0
- package/types/lodash/shuffle.d.ts +2 -0
- package/types/lodash/size.d.ts +2 -1
- package/types/lodash/slice.d.ts +2 -0
- package/types/lodash/snakeCase.d.ts +2 -0
- package/types/lodash/some.d.ts +1 -6
- package/types/lodash/sortBy.d.ts +2 -0
- package/types/lodash/sortedIndex.d.ts +2 -0
- package/types/lodash/sortedIndexBy.d.ts +2 -0
- package/types/lodash/sortedIndexOf.d.ts +2 -0
- package/types/lodash/sortedLastIndex.d.ts +2 -0
- package/types/lodash/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/sortedUniq.d.ts +2 -0
- package/types/lodash/sortedUniqBy.d.ts +2 -0
- package/types/lodash/split.d.ts +2 -0
- package/types/lodash/spread.d.ts +2 -0
- package/types/lodash/startCase.d.ts +2 -0
- package/types/lodash/startsWith.d.ts +2 -0
- package/types/lodash/string.d.ts +32 -0
- package/types/lodash/string.default.d.ts +65 -0
- package/types/lodash/stubArray.d.ts +2 -0
- package/types/lodash/stubFalse.d.ts +2 -0
- package/types/lodash/stubObject.d.ts +2 -0
- package/types/lodash/stubString.d.ts +2 -0
- package/types/lodash/stubTrue.d.ts +2 -0
- package/types/lodash/subtract.d.ts +2 -0
- package/types/lodash/sum.d.ts +2 -0
- package/types/lodash/sumBy.d.ts +2 -0
- package/types/lodash/tail.d.ts +2 -0
- package/types/lodash/take.d.ts +2 -0
- package/types/lodash/takeRight.d.ts +2 -0
- package/types/lodash/takeRightWhile.d.ts +2 -0
- package/types/lodash/takeWhile.d.ts +2 -0
- package/types/lodash/tap.d.ts +2 -0
- package/types/lodash/template.d.ts +2 -0
- package/types/lodash/templateSettings.d.ts +2 -0
- package/types/lodash/throttle.d.ts +3 -6
- package/types/lodash/thru.d.ts +2 -0
- package/types/lodash/times.d.ts +2 -0
- package/types/lodash/toArray.d.ts +2 -0
- package/types/lodash/toFinite.d.ts +2 -0
- package/types/lodash/toInteger.d.ts +2 -0
- package/types/lodash/toIterator.d.ts +20 -0
- package/types/lodash/toJSON.d.ts +1 -0
- package/types/lodash/toLength.d.ts +2 -0
- package/types/lodash/toLower.d.ts +2 -0
- package/types/lodash/toNumber.d.ts +2 -0
- package/types/lodash/toPairs.d.ts +2 -0
- package/types/lodash/toPairsIn.d.ts +2 -0
- package/types/lodash/toPath.d.ts +2 -0
- package/types/lodash/toPlainObject.d.ts +2 -0
- package/types/lodash/toSafeInteger.d.ts +2 -0
- package/types/lodash/toString.d.ts +2 -0
- package/types/lodash/toUpper.d.ts +2 -0
- package/types/lodash/transform.d.ts +2 -0
- package/types/lodash/trim.d.ts +2 -0
- package/types/lodash/trimEnd.d.ts +2 -0
- package/types/lodash/trimStart.d.ts +2 -0
- package/types/lodash/truncate.d.ts +2 -0
- package/types/lodash/unary.d.ts +2 -0
- package/types/lodash/unescape.d.ts +2 -0
- package/types/lodash/union.d.ts +1 -1
- package/types/lodash/unionBy.d.ts +2 -0
- package/types/lodash/unionWith.d.ts +2 -0
- package/types/lodash/uniq.d.ts +2 -1
- package/types/lodash/uniqBy.d.ts +2 -0
- package/types/lodash/uniqWith.d.ts +2 -0
- package/types/lodash/uniqueId.d.ts +2 -0
- package/types/lodash/unset.d.ts +2 -0
- package/types/lodash/unzip.d.ts +2 -0
- package/types/lodash/unzipWith.d.ts +2 -0
- package/types/lodash/update.d.ts +2 -0
- package/types/lodash/updateWith.d.ts +2 -0
- package/types/lodash/upperCase.d.ts +2 -0
- package/types/lodash/upperFirst.d.ts +2 -0
- package/types/lodash/util.d.ts +33 -0
- package/types/lodash/util.default.d.ts +67 -0
- package/types/lodash/value.d.ts +1 -0
- package/types/lodash/valueOf.d.ts +1 -0
- package/types/lodash/values.d.ts +1 -1
- package/types/lodash/valuesIn.d.ts +2 -0
- package/types/lodash/without.d.ts +2 -0
- package/types/lodash/words.d.ts +2 -0
- package/types/lodash/wrap.d.ts +2 -0
- package/types/lodash/wrapperAt.d.ts +18 -0
- package/types/lodash/wrapperChain.d.ts +29 -0
- package/types/lodash/wrapperLodash.d.ts +239 -0
- package/types/lodash/wrapperReverse.d.ts +22 -0
- package/types/lodash/wrapperValue.d.ts +16 -0
- package/types/lodash/xor.d.ts +2 -0
- package/types/lodash/xorBy.d.ts +2 -0
- package/types/lodash/xorWith.d.ts +2 -0
- package/types/lodash/zip.d.ts +2 -0
- package/types/lodash/zipObject.d.ts +2 -0
- package/types/lodash/zipObjectDeep.d.ts +2 -0
- package/types/lodash/zipWith.d.ts +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default baseWhile;
|
|
2
|
+
/**
|
|
3
|
+
* The base implementation of methods like `_.dropWhile` and `_.takeWhile`
|
|
4
|
+
* without support for iteratee shorthands.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} array The array to query.
|
|
8
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
9
|
+
* @param {boolean} [isDrop] Specify dropping elements instead of taking them.
|
|
10
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
11
|
+
* @returns {Array} Returns the slice of `array`.
|
|
12
|
+
*/
|
|
13
|
+
declare function baseWhile(array: any[], predicate: Function, isDrop?: boolean, fromRight?: boolean): any[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default baseWrapperValue;
|
|
2
|
+
/**
|
|
3
|
+
* The base implementation of `wrapperValue` which returns the result of
|
|
4
|
+
* performing a sequence of actions on the unwrapped `value`, where each
|
|
5
|
+
* successive action is supplied the return value of the previous.
|
|
6
|
+
*
|
|
7
|
+
* @private
|
|
8
|
+
* @param {*} value The unwrapped value.
|
|
9
|
+
* @param {Array} actions Actions to perform to resolve the unwrapped value.
|
|
10
|
+
* @returns {*} Returns the resolved value.
|
|
11
|
+
*/
|
|
12
|
+
declare function baseWrapperValue(value: any, actions: any[]): any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default baseXor;
|
|
2
|
+
/**
|
|
3
|
+
* The base implementation of methods like `_.xor`, without support for
|
|
4
|
+
* iteratee shorthands, that accepts an array of arrays to inspect.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} arrays The arrays to inspect.
|
|
8
|
+
* @param {Function} [iteratee] The iteratee invoked per element.
|
|
9
|
+
* @param {Function} [comparator] The comparator invoked per element.
|
|
10
|
+
* @returns {Array} Returns the new array of values.
|
|
11
|
+
*/
|
|
12
|
+
declare function baseXor(arrays: any[], iteratee?: Function, comparator?: Function): any[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default baseZipObject;
|
|
2
|
+
/**
|
|
3
|
+
* This base implementation of `_.zipObject` which assigns values using `assignFunc`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} props The property identifiers.
|
|
7
|
+
* @param {Array} values The property values.
|
|
8
|
+
* @param {Function} assignFunc The function to assign values.
|
|
9
|
+
* @returns {Object} Returns the new object.
|
|
10
|
+
*/
|
|
11
|
+
declare function baseZipObject(props: any[], values: any[], assignFunc: Function): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default cacheHas;
|
|
2
|
+
/**
|
|
3
|
+
* Checks if a `cache` value for `key` exists.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} cache The cache to query.
|
|
7
|
+
* @param {string} key The key of the entry to check.
|
|
8
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
9
|
+
*/
|
|
10
|
+
declare function cacheHas(cache: Object, key: string): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default castArrayLikeObject;
|
|
2
|
+
/**
|
|
3
|
+
* Casts `value` to an empty array if it's not an array like object.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {*} value The value to inspect.
|
|
7
|
+
* @returns {Array|Object} Returns the cast array-like object.
|
|
8
|
+
*/
|
|
9
|
+
declare function castArrayLikeObject(value: any): any[] | Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default castPath;
|
|
2
|
+
/**
|
|
3
|
+
* Casts `value` to a path array if it's not one.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {*} value The value to inspect.
|
|
7
|
+
* @param {Object} [object] The object to query keys on.
|
|
8
|
+
* @returns {Array} Returns the cast property path array.
|
|
9
|
+
*/
|
|
10
|
+
declare function castPath(value: any, object?: Object): any[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default castRest;
|
|
2
|
+
/**
|
|
3
|
+
* A `baseRest` alias which can be replaced with `identity` by module
|
|
4
|
+
* replacement plugins.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @type {Function}
|
|
8
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
9
|
+
* @returns {Function} Returns the new function.
|
|
10
|
+
*/
|
|
11
|
+
declare var castRest: Function;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default castSlice;
|
|
2
|
+
/**
|
|
3
|
+
* Casts `array` to a slice if it's needed.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} array The array to inspect.
|
|
7
|
+
* @param {number} start The start position.
|
|
8
|
+
* @param {number} [end=array.length] The end position.
|
|
9
|
+
* @returns {Array} Returns the cast slice.
|
|
10
|
+
*/
|
|
11
|
+
declare function castSlice(array: any[], start: number, end?: number): any[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default charsEndIndex;
|
|
2
|
+
/**
|
|
3
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
|
|
4
|
+
* that is not found in the character symbols.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} strSymbols The string symbols to inspect.
|
|
8
|
+
* @param {Array} chrSymbols The character symbols to find.
|
|
9
|
+
* @returns {number} Returns the index of the last unmatched string symbol.
|
|
10
|
+
*/
|
|
11
|
+
declare function charsEndIndex(strSymbols: any[], chrSymbols: any[]): number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default charsStartIndex;
|
|
2
|
+
/**
|
|
3
|
+
* Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
|
|
4
|
+
* that is not found in the character symbols.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} strSymbols The string symbols to inspect.
|
|
8
|
+
* @param {Array} chrSymbols The character symbols to find.
|
|
9
|
+
* @returns {number} Returns the index of the first unmatched string symbol.
|
|
10
|
+
*/
|
|
11
|
+
declare function charsStartIndex(strSymbols: any[], chrSymbols: any[]): number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default cloneArrayBuffer;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `arrayBuffer`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
7
|
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
8
|
+
*/
|
|
9
|
+
declare function cloneArrayBuffer(arrayBuffer: ArrayBuffer): ArrayBuffer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default cloneBuffer;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `buffer`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Buffer} buffer The buffer to clone.
|
|
7
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
8
|
+
* @returns {Buffer} Returns the cloned buffer.
|
|
9
|
+
*/
|
|
10
|
+
declare function cloneBuffer(buffer: Buffer, isDeep?: boolean): Buffer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default cloneDataView;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `dataView`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} dataView The data view to clone.
|
|
7
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
8
|
+
* @returns {Object} Returns the cloned data view.
|
|
9
|
+
*/
|
|
10
|
+
declare function cloneDataView(dataView: Object, isDeep?: boolean): Object;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default cloneMap;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `map`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} map The map to clone.
|
|
7
|
+
* @param {Function} cloneFunc The function to clone values.
|
|
8
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
9
|
+
* @returns {Object} Returns the cloned map.
|
|
10
|
+
*/
|
|
11
|
+
declare function cloneMap(map: Object, isDeep?: boolean, cloneFunc: Function): Object;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default cloneSet;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `set`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} set The set to clone.
|
|
7
|
+
* @param {Function} cloneFunc The function to clone values.
|
|
8
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
9
|
+
* @returns {Object} Returns the cloned set.
|
|
10
|
+
*/
|
|
11
|
+
declare function cloneSet(set: Object, isDeep?: boolean, cloneFunc: Function): Object;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default cloneSymbol;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of the `symbol` object.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} symbol The symbol object to clone.
|
|
7
|
+
* @returns {Object} Returns the cloned symbol object.
|
|
8
|
+
*/
|
|
9
|
+
declare function cloneSymbol(symbol: Object): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default cloneTypedArray;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a clone of `typedArray`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} typedArray The typed array to clone.
|
|
7
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
8
|
+
* @returns {Object} Returns the cloned typed array.
|
|
9
|
+
*/
|
|
10
|
+
declare function cloneTypedArray(typedArray: Object, isDeep?: boolean): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default compareAscending;
|
|
2
|
+
/**
|
|
3
|
+
* Compares values to sort them in ascending order.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {*} value The value to compare.
|
|
7
|
+
* @param {*} other The other value to compare.
|
|
8
|
+
* @returns {number} Returns the sort order indicator for `value`.
|
|
9
|
+
*/
|
|
10
|
+
declare function compareAscending(value: any, other: any): number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default compareMultiple;
|
|
2
|
+
/**
|
|
3
|
+
* Used by `_.orderBy` to compare multiple properties of a value to another
|
|
4
|
+
* and stable sort them.
|
|
5
|
+
*
|
|
6
|
+
* If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
|
|
7
|
+
* specify an order of "desc" for descending or "asc" for ascending sort order
|
|
8
|
+
* of corresponding values.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to compare.
|
|
12
|
+
* @param {Object} other The other object to compare.
|
|
13
|
+
* @param {boolean[]|string[]} orders The order to sort by for each property.
|
|
14
|
+
* @returns {number} Returns the sort order indicator for `object`.
|
|
15
|
+
*/
|
|
16
|
+
declare function compareMultiple(object: Object, other: Object, orders: boolean[] | string[]): number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default composeArgs;
|
|
2
|
+
/**
|
|
3
|
+
* Creates an array that is the composition of partially applied arguments,
|
|
4
|
+
* placeholders, and provided arguments into a single array of arguments.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} args The provided arguments.
|
|
8
|
+
* @param {Array} partials The arguments to prepend to those provided.
|
|
9
|
+
* @param {Array} holders The `partials` placeholder indexes.
|
|
10
|
+
* @params {boolean} [isCurried] Specify composing for a curried function.
|
|
11
|
+
* @returns {Array} Returns the new array of composed arguments.
|
|
12
|
+
*/
|
|
13
|
+
declare function composeArgs(args: any[], partials: any[], holders: any[], isCurried: any): any[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default composeArgsRight;
|
|
2
|
+
/**
|
|
3
|
+
* This function is like `composeArgs` except that the arguments composition
|
|
4
|
+
* is tailored for `_.partialRight`.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Array} args The provided arguments.
|
|
8
|
+
* @param {Array} partials The arguments to append to those provided.
|
|
9
|
+
* @param {Array} holders The `partials` placeholder indexes.
|
|
10
|
+
* @params {boolean} [isCurried] Specify composing for a curried function.
|
|
11
|
+
* @returns {Array} Returns the new array of composed arguments.
|
|
12
|
+
*/
|
|
13
|
+
declare function composeArgsRight(args: any[], partials: any[], holders: any[], isCurried: any): any[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default copyArray;
|
|
2
|
+
/**
|
|
3
|
+
* Copies the values of `source` to `array`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} source The array to copy values from.
|
|
7
|
+
* @param {Array} [array=[]] The array to copy values to.
|
|
8
|
+
* @returns {Array} Returns `array`.
|
|
9
|
+
*/
|
|
10
|
+
declare function copyArray(source: any[], array?: any[]): any[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default copyObject;
|
|
2
|
+
/**
|
|
3
|
+
* Copies properties of `source` to `object`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} source The object to copy properties from.
|
|
7
|
+
* @param {Array} props The property identifiers to copy.
|
|
8
|
+
* @param {Object} [object={}] The object to copy properties to.
|
|
9
|
+
* @param {Function} [customizer] The function to customize copied values.
|
|
10
|
+
* @returns {Object} Returns `object`.
|
|
11
|
+
*/
|
|
12
|
+
declare function copyObject(source: Object, props: any[], object?: Object, customizer?: Function): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default copySymbols;
|
|
2
|
+
/**
|
|
3
|
+
* Copies own symbols of `source` to `object`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} source The object to copy symbols from.
|
|
7
|
+
* @param {Object} [object={}] The object to copy symbols to.
|
|
8
|
+
* @returns {Object} Returns `object`.
|
|
9
|
+
*/
|
|
10
|
+
declare function copySymbols(source: Object, object?: Object): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default copySymbolsIn;
|
|
2
|
+
/**
|
|
3
|
+
* Copies own and inherited symbols of `source` to `object`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Object} source The object to copy symbols from.
|
|
7
|
+
* @param {Object} [object={}] The object to copy symbols to.
|
|
8
|
+
* @returns {Object} Returns `object`.
|
|
9
|
+
*/
|
|
10
|
+
declare function copySymbolsIn(source: Object, object?: Object): Object;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default countHolders;
|
|
2
|
+
/**
|
|
3
|
+
* Gets the number of `placeholder` occurrences in `array`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} array The array to inspect.
|
|
7
|
+
* @param {*} placeholder The placeholder to search for.
|
|
8
|
+
* @returns {number} Returns the placeholder count.
|
|
9
|
+
*/
|
|
10
|
+
declare function countHolders(array: any[], placeholder: any): number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default createAggregator;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.groupBy`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} setter The function to set accumulator values.
|
|
7
|
+
* @param {Function} [initializer] The accumulator object initializer.
|
|
8
|
+
* @returns {Function} Returns the new aggregator function.
|
|
9
|
+
*/
|
|
10
|
+
declare function createAggregator(setter: Function, initializer?: Function): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createAssigner;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.assign`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} assigner The function to assign values.
|
|
7
|
+
* @returns {Function} Returns the new assigner function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createAssigner(assigner: Function): Function;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default createBaseEach;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a `baseEach` or `baseEachRight` function.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} eachFunc The function to iterate over a collection.
|
|
7
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
8
|
+
* @returns {Function} Returns the new base function.
|
|
9
|
+
*/
|
|
10
|
+
declare function createBaseEach(eachFunc: Function, fromRight?: boolean): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createBaseFor;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
7
|
+
* @returns {Function} Returns the new base function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createBaseFor(fromRight?: boolean): Function;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default createBind;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that wraps `func` to invoke it with the optional `this`
|
|
4
|
+
* binding of `thisArg`.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Function} func The function to wrap.
|
|
8
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
|
9
|
+
* @param {*} [thisArg] The `this` binding of `func`.
|
|
10
|
+
* @returns {Function} Returns the new wrapped function.
|
|
11
|
+
*/
|
|
12
|
+
declare function createBind(func: Function, bitmask: number, thisArg?: any): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createCaseFirst;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.lowerFirst`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {string} methodName The name of the `String` case method to use.
|
|
7
|
+
* @returns {Function} Returns the new case function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createCaseFirst(methodName: string): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createCompounder;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.camelCase`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} callback The function to combine each word.
|
|
7
|
+
* @returns {Function} Returns the new compounder function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createCompounder(callback: Function): Function;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default createCtor;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that produces an instance of `Ctor` regardless of
|
|
4
|
+
* whether it was invoked as part of a `new` expression or by `call` or `apply`.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Function} Ctor The constructor to wrap.
|
|
8
|
+
* @returns {Function} Returns the new wrapped function.
|
|
9
|
+
*/
|
|
10
|
+
declare function createCtor(Ctor: Function): Function;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default createCurry;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that wraps `func` to enable currying.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} func The function to wrap.
|
|
7
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
|
8
|
+
* @param {number} arity The arity of `func`.
|
|
9
|
+
* @returns {Function} Returns the new wrapped function.
|
|
10
|
+
*/
|
|
11
|
+
declare function createCurry(func: Function, bitmask: number, arity: number): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createFind;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a `_.find` or `_.findLast` function.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} findIndexFunc The function to find the collection index.
|
|
7
|
+
* @returns {Function} Returns the new find function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createFind(findIndexFunc: Function): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createFlow;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a `_.flow` or `_.flowRight` function.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
7
|
+
* @returns {Function} Returns the new flow function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createFlow(fromRight?: boolean): Function;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default createHybrid;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that wraps `func` to invoke it with optional `this`
|
|
4
|
+
* binding of `thisArg`, partial application, and currying.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Function|string} func The function or method name to wrap.
|
|
8
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
|
9
|
+
* @param {*} [thisArg] The `this` binding of `func`.
|
|
10
|
+
* @param {Array} [partials] The arguments to prepend to those provided to
|
|
11
|
+
* the new function.
|
|
12
|
+
* @param {Array} [holders] The `partials` placeholder indexes.
|
|
13
|
+
* @param {Array} [partialsRight] The arguments to append to those provided
|
|
14
|
+
* to the new function.
|
|
15
|
+
* @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
|
|
16
|
+
* @param {Array} [argPos] The argument positions of the new function.
|
|
17
|
+
* @param {number} [ary] The arity cap of `func`.
|
|
18
|
+
* @param {number} [arity] The arity of `func`.
|
|
19
|
+
* @returns {Function} Returns the new wrapped function.
|
|
20
|
+
*/
|
|
21
|
+
declare function createHybrid(func: Function | string, bitmask: number, thisArg?: any, partials?: any[], holders?: any[], partialsRight?: any[], holdersRight?: any[], argPos?: any[], ary?: number, arity?: number): Function;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default createInverter;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.invertBy`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} setter The function to set accumulator values.
|
|
7
|
+
* @param {Function} toIteratee The function to resolve iteratees.
|
|
8
|
+
* @returns {Function} Returns the new inverter function.
|
|
9
|
+
*/
|
|
10
|
+
declare function createInverter(setter: Function, toIteratee: Function): Function;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default createMathOperation;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that performs a mathematical operation on two values.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} operator The function to perform the operation.
|
|
7
|
+
* @param {number} [defaultValue] The value used for `undefined` arguments.
|
|
8
|
+
* @returns {Function} Returns the new mathematical operation function.
|
|
9
|
+
*/
|
|
10
|
+
declare function createMathOperation(operator: Function, defaultValue?: number): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createOver;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.over`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} arrayFunc The function to iterate over iteratees.
|
|
7
|
+
* @returns {Function} Returns the new over function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createOver(arrayFunc: Function): Function;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default createPadding;
|
|
2
|
+
/**
|
|
3
|
+
* Creates the padding for `string` based on `length`. The `chars` string
|
|
4
|
+
* is truncated if the number of characters exceeds `length`.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {number} length The padding length.
|
|
8
|
+
* @param {string} [chars=' '] The string used as padding.
|
|
9
|
+
* @returns {string} Returns the padding for `string`.
|
|
10
|
+
*/
|
|
11
|
+
declare function createPadding(length: number, chars?: string): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default createPartial;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that wraps `func` to invoke it with the `this` binding
|
|
4
|
+
* of `thisArg` and `partials` prepended to the arguments it receives.
|
|
5
|
+
*
|
|
6
|
+
* @private
|
|
7
|
+
* @param {Function} func The function to wrap.
|
|
8
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
|
9
|
+
* @param {*} thisArg The `this` binding of `func`.
|
|
10
|
+
* @param {Array} partials The arguments to prepend to those provided to
|
|
11
|
+
* the new function.
|
|
12
|
+
* @returns {Function} Returns the new wrapped function.
|
|
13
|
+
*/
|
|
14
|
+
declare function createPartial(func: Function, bitmask: number, thisArg: any, partials: any[]): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createRange;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a `_.range` or `_.rangeRight` function.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
7
|
+
* @returns {Function} Returns the new range function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createRange(fromRight?: boolean): Function;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default createRecurry;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that wraps `func` to continue currying.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} func The function to wrap.
|
|
7
|
+
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
|
|
8
|
+
* @param {Function} wrapFunc The function to create the `func` wrapper.
|
|
9
|
+
* @param {*} placeholder The placeholder value.
|
|
10
|
+
* @param {*} [thisArg] The `this` binding of `func`.
|
|
11
|
+
* @param {Array} [partials] The arguments to prepend to those provided to
|
|
12
|
+
* the new function.
|
|
13
|
+
* @param {Array} [holders] The `partials` placeholder indexes.
|
|
14
|
+
* @param {Array} [argPos] The argument positions of the new function.
|
|
15
|
+
* @param {number} [ary] The arity cap of `func`.
|
|
16
|
+
* @param {number} [arity] The arity of `func`.
|
|
17
|
+
* @returns {Function} Returns the new wrapped function.
|
|
18
|
+
*/
|
|
19
|
+
declare function createRecurry(func: Function, bitmask: number, wrapFunc: Function, placeholder: any, thisArg?: any, partials?: any[], holders?: any[], argPos?: any[], ary?: number, arity?: number): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createRelationalOperation;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function that performs a relational operation on two values.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Function} operator The function to perform the operation.
|
|
7
|
+
* @returns {Function} Returns the new relational operation function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createRelationalOperation(operator: Function): Function;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default createRound;
|
|
2
|
+
/**
|
|
3
|
+
* Creates a function like `_.round`.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {string} methodName The name of the `Math` method to use when rounding.
|
|
7
|
+
* @returns {Function} Returns the new round function.
|
|
8
|
+
*/
|
|
9
|
+
declare function createRound(methodName: string): Function;
|