Returns a function that gets property value from object

  • Type Parameters

    • T

    Parameters

    • k: string
    • xs: Record<string, unknown>[]

    Returns T[]