Module index

References

Interfaces

Properties

Functions - Array

Functions - Collection

Functions - Function

Functions - Lang

Functions - Math

Functions - Number

Functions - Object

Functions - Other

add after ary at attempt before bindAll camelCase capitalize castArray ceil chain chunk clone cloneDeep cloneDeepWith cloneWith compact conforms conformsTo constant countBy create debounce deburr defaultTo defaults defaultsDeep defer delay difference differenceBy divide drop dropRight dropRightWhile dropWhile endsWith entries entriesIn escape escapeRegExp every extend extendWith fill filter find findIndex findKey findLast findLastIndex findLastKey flatMap flatten flattenDeep flattenDepth floor flow flowRight forIn forInRight forOwn forOwnRight get groupBy gt gte identity inRange includes initial intersection invert invertBy invoke invokeMap isArguments isArray isArrayBuffer isBoolean isBuffer isDate isElement isEmpty isError isFinite isFunction isMap isNaN isNative isNull isNumber isObject isPlainObject isRegExp isSet isString isTypedArray isUndefined isWeakMap isWeakSet join kebabCase keyBy keys keysIn last lastIndexOf lowerCase lowerFirst lt lte map mapKeys mapValues matches matchesProperty method methodOf mixin multiply negate noop now nth nthArg once over overArgs overEvery overSome pad padEnd padStart parseInt partition property propertyOf pull pullAt random range rearg reduce reduceRight reject remove repeat replace rest result round sample sampleSize set setWith shuffle size slice snakeCase some split spread startCase startsWith stubArray stubFalse stubObject stubString stubTrue tail take takeRight takeRightWhile takeWhile tap template throttle times toArray toLower toPairs toPairsIn toPlainObject toUpper transform trim trimEnd trimStart truncate unescape union unionBy uniqueId unset unzip unzipWith update upperCase upperFirst values valuesIn without words wrap xor zip zipObject zipObjectDeep zipWith

Functions - Util

References

Re-exports Base64
Re-exports Base64_3
Re-exports ByteEncoder
Re-exports Desservice
Re-exports HashTable
Re-exports JavaDate
Re-exports Leap
Re-exports LeapBrowser
Re-exports LeapConfig
Re-exports LeapConfigType
Re-exports LocalStorageUtil
Re-exports Md5Code
Re-exports MenuBuilder
Re-exports QueryParameters
Re-exports SM3
Re-exports SM4
Re-exports SM4Core
Re-exports SM4Encoder
Re-exports SMTool
Re-exports SafeProp
Re-exports SearchBuilder
Re-exports SearchParameters
Re-exports StringBuffer
Re-exports StringUtils
Re-exports UUID
Re-exports Utils
Re-exports base64
Re-exports base64_decode
Re-exports base64_encode
Re-exports base64decode
Re-exports base64encode
Re-exports decbase64data
Re-exports encbase64data
Renames and re-exports __type
Renames and re-exports __type
Re-exports hashcode
Renames and re-exports __type
Re-exports initLeapConfig
Re-exports randomString
Re-exports sm4Encoder
Re-exports utf8_decode

Properties

bind: FunctionBind

Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind arguments to those provided to the bound function.

The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.

Note: Unlike native Function#bind this method does not set the "length" property of bound functions.

Param

The function to bind.

Param

The this binding of func.

Param

The arguments to be partially applied.

Returns

Returns the new bound function.

bindKey: FunctionBindKey

Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments to those provided to the bound function.

This method differs from _.bind by allowing bound functions to reference methods that may be redefined or don’t yet exist. See Peter Michaux’s article for more details.

The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.

Param

The object the method belongs to.

Param

The key of the method.

Param

The arguments to be partially applied.

Returns

Returns the new bound function.

curry: Curry
curryRight: CurryRight
each: {
    <T>(collection, iteratee?): T[];
    (collection, iteratee?): string;
    <T>(collection, iteratee?): List<T>;
    <T>(collection, iteratee?): T;
    <T, TArray>(collection, iteratee?): TArray;
    <TString>(collection, iteratee?): TString;
    <T, TList>(collection, iteratee?): TList;
    <T>(collection, iteratee?): undefined | null | T;
}

Type declaration

    • <T>(collection, iteratee?): T[]
    • See

      _.forEach

      Type Parameters

      • T

      Parameters

      • collection: T[]
      • Optional iteratee: ArrayIterator<T, any>

      Returns T[]

    • (collection, iteratee?): string
    • See

      _.forEach

      Parameters

      • collection: string
      • Optional iteratee: StringIterator<any>

      Returns string

    • <T>(collection, iteratee?): List<T>
    • See

      _.forEach

      Type Parameters

      • T

      Parameters

      • collection: List<T>
      • Optional iteratee: ListIterator<T, any>

      Returns List<T>

    • <T>(collection, iteratee?): T
    • See

      _.forEach

      Type Parameters

      • T extends object

      Parameters

      • collection: T
      • Optional iteratee: ObjectIterator<T, any>

      Returns T

    • <T, TArray>(collection, iteratee?): TArray
    • See

      _.forEach

      Type Parameters

      • T

      • TArray extends undefined | null | T[]

      Parameters

      • collection: Object
      • Optional iteratee: ArrayIterator<T, any>

      Returns TArray

    • <TString>(collection, iteratee?): TString
    • See

      _.forEach

      Type Parameters

      • TString extends undefined | null | string

      Parameters

      • collection: TString
      • Optional iteratee: StringIterator<any>

      Returns TString

    • <T, TList>(collection, iteratee?): TList
    • See

      _.forEach

      Type Parameters

      • T

      • TList extends undefined | null | List<T>

      Parameters

      • collection: Object
      • Optional iteratee: ListIterator<T, any>

      Returns TList

    • <T>(collection, iteratee?): undefined | null | T
    • See

      _.forEach

      Type Parameters

      • T extends object

      Parameters

      • collection: undefined | null | T
      • Optional iteratee: ObjectIterator<T, any>

      Returns undefined | null | T

eachRight: {
    <T>(collection, iteratee?): T[];
    (collection, iteratee?): string;
    <T>(collection, iteratee?): List<T>;
    <T>(collection, iteratee?): T;
    <T, TArray>(collection, iteratee?): TArray;
    <TString>(collection, iteratee?): TString;
    <T, TList>(collection, iteratee?): TList;
    <T>(collection, iteratee?): undefined | null | T;
}

Type declaration

    • <T>(collection, iteratee?): T[]
    • See

      _.forEachRight

      Type Parameters

      • T

      Parameters

      • collection: T[]
      • Optional iteratee: ArrayIterator<T, any>

      Returns T[]

    • (collection, iteratee?): string
    • See

      _.forEachRight

      Parameters

      • collection: string
      • Optional iteratee: StringIterator<any>

      Returns string

    • <T>(collection, iteratee?): List<T>
    • See

      _.forEachRight

      Type Parameters

      • T

      Parameters

      • collection: List<T>
      • Optional iteratee: ListIterator<T, any>

      Returns List<T>

    • <T>(collection, iteratee?): T
    • See

      _.forEachRight

      Type Parameters

      • T extends object

      Parameters

      • collection: T
      • Optional iteratee: ObjectIterator<T, any>

      Returns T

    • <T, TArray>(collection, iteratee?): TArray
    • See

      _.forEachRight

      Type Parameters

      • T

      • TArray extends undefined | null | T[]

      Parameters

      • collection: Object
      • Optional iteratee: ArrayIterator<T, any>

      Returns TArray

    • <TString>(collection, iteratee?): TString
    • See

      _.forEachRight

      Type Parameters

      • TString extends undefined | null | string

      Parameters

      • collection: TString
      • Optional iteratee: StringIterator<any>

      Returns TString

    • <T, TList>(collection, iteratee?): TList
    • See

      _.forEachRight

      Type Parameters

      • T

      • TList extends undefined | null | List<T>

      Parameters

      • collection: Object
      • Optional iteratee: ListIterator<T, any>

      Returns TList

    • <T>(collection, iteratee?): undefined | null | T
    • See

      _.forEachRight

      Type Parameters

      • T extends object

      Parameters

      • collection: undefined | null | T
      • Optional iteratee: ObjectIterator<T, any>

      Returns undefined | null | T

first: (<T>(array) => undefined | T)

Type declaration

    • <T>(array): undefined | T
    • See

      _.head

      Type Parameters

      • T

      Parameters

      • array: undefined | null | List<T>

      Returns undefined | T

memoize: {
    Cache: MapCacheConstructor;
    <T>(func, resolver?): T & MemoizedFunction;
}

Type declaration

    • <T>(func, resolver?): T & MemoizedFunction
    • Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for storing the result based on the arguments provided to the memoized function. By default, the first argument provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with the this binding of the memoized function.

      Type Parameters

      • T extends ((...args) => any)

      Parameters

      • func: T

        The function to have its output memoized.

      • Optional resolver: ((...args) => any)

        The function to resolve the cache key.

          • (...args): any
          • Parameters

            • Rest ...args: Parameters<T>

            Returns any

      Returns T & MemoizedFunction

      Returns the new memoizing function.

  • Cache: MapCacheConstructor
pako: any
partial: Partial

Creates a function that, when called, invokes func with any additional partial arguments prepended to those provided to the new function. This method is similar to _.bind except it does not alter the this binding.

Param

The function to partially apply arguments to.

Param

Arguments to be partially applied.

Returns

The new partially applied function.

partialRight: PartialRight

This method is like _.partial except that partial arguments are appended to those provided to the new function.

Param

The function to partially apply arguments to.

Param

Arguments to be partially applied.

Returns

The new partially applied function.

templateSettings: TemplateSettings

By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby (ERB). Change the following template settings to use alternative delimiters.

Generated using TypeDoc