Vertex Viewer SDK
    Preparing search index...

    Function mapArray

    • Returns a mapper that will invoke a mapper over each value in the input array. Returns Invalid containing errors for all invalid values in the array.

      Type Parameters

      • T
      • R

      Parameters

      • mapper: Func<T, R>

        A function that will be invoked with each array value.

      Returns Func<T[], R[]>