Generic Instance Method

map(_:)

Publishes the value of a key path.

Declaration

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

Parameters

keyPath

The key path of a property on Output.

Return Value

A publisher that publishes the value of the key path.