• Invokes the method named by methodName on each element in the collection returning an array of the results of each invoked method. Additional arguments will be provided to each invoked method. If methodName is a function it will be invoked for, and this bound to, each element in the collection.

    Parameters

    • collection: undefined | null | object

      The collection to iterate over.

    • methodName: string

      The name of the method to invoke.

    • Rest ...args: any[]

      Arguments to invoke the method with.

    Returns any[]

  • Type Parameters

    • TResult

    Parameters

    • collection: undefined | null | object
    • method: ((...args) => TResult)
        • (...args): TResult
        • Parameters

          • Rest ...args: any[]

          Returns TResult

    • Rest ...args: any[]

    Returns TResult[]

    See

    _.invokeMap

Generated using TypeDoc