Contents

map(_:)

Returns an array containing the results of mapping the given closure over the sequence’s elements.

Declaration

func map<ReturnType>(_ transform: (XPCArray.IndexValuePair) throws -> ReturnType) rethrows -> [ReturnType]

Parameters

  • transform:

    A mapping closure. transform accepts an element of this sequence as its parameter and returns a transformed value of the same or of a different type.