map(_:)

Returns a gesture that uses the given closure to map over this gesture’s value.

Declaration

nonisolated func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>