ConvertData

ValueElement<T>.ConvertData<TOutput> method

Converts the element data to the specified type and returns the converted data.

public Span<TOutput> ConvertData<TOutput>(Func<T, TOutput> converter)
ParameterDescription
TOutputTarget type the element data to be converted.
converterFunction to be applied to convert element’s data.

Return Value

The converted data.

See Also