map(_:)
Creates a new column by applying a transformation to each element.
Declaration
func map<T>(_ transform: (DiscontiguousColumnSlice<WrappedElement>.Element) throws -> T?) rethrows -> Column<T>Parameters
- transform:
A closure that transforms the column slice’s elements to another type.