Takaro - v0.4.11
    Preparing search index...

    Function invokeMap

    • 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: object | null | undefined

        The collection to iterate over.

      • methodName: string

        The name of the method to invoke.

      • ...args: any[]

        Arguments to invoke the method with.

      Returns any[]

    • Type Parameters

      • TResult

      Parameters

      • collection: object | null | undefined
      • method: (...args: any[]) => TResult
      • ...args: any[]

      Returns TResult[]

      _.invokeMap