Skip to content

Instance Method

map(_:)

Maps a page’s items to a different type using the supplied closure.
func map<U>(_ transform: (T) throws -> U) rethrows -> Page<U> where U : Sendable