getInitialAs

inline fun <T> FormResultData.getInitialAs(path: String): T

Returns the initial value of a control as type T.

Usage: rowData.getInitialAs<Int>("id")

Throws

when the value is not a T - also when it is null and T is not nullable.