value

fun value(value: String, label: String? = null): MatrixFeature.Value

Creates a Value object that stores a parameter value and its optional label.

Return

A Value object containing the specified value and label.

Parameters

value

The value of the parameter.

label

An optional label for the value.