Function mapProperty

  • Takes an array of objects and returns an array of values from the given property

    Type Parameters

    • T

    • K extends string | number | symbol

    Parameters

    • array: T[]

      The array of objects

    • property: K

      The property to extract

    Returns T[K][]

Generated using TypeDoc