Generic Instance Method

map(_:)

Publishes the value of a key path.

Declaration

func map<T>(_ keyPath: KeyPath<Upstream.Output, T>) -> Publishers.MapKeyPath<Publishers.TryComparison<Upstream>, T>

Parameters

keyPath

The key path of a property on Output.

Return Value

A publisher that publishes the value of the key path.