• Maps an array, or object to a property (by name)

    Parameters

    • collection: any
    • propName: any

    Returns any