CanChangeTransformation

sealed interface CanChangeTransformation<E> : DataItem<E> (source)

Adds an infix function withTransformation to a DataItem.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract override fun toString(): String
Link copied to clipboard
abstract infix fun <T> withTransformation(newTransformation: (BackendDataItem) -> TransformationResult<T, String>): DataItem<T>

Changes the transformation of this DataItem into the given newTransformation.