get

suspend fun <T> get(formSchema: Schema<T>, formValue: T, path: Path): Any?(source)
suspend fun <T> get(formSchema: Schema<T>, formValue: T, path: String): Any?(source)

Returns the single part of the form value formValue (with schema formSchema) matching path.

To get information about multiple parts of a form value at once, use valueInfo instead.

Throws

If path contains wildcards or matches no schemas.

If path matches more than one value.

If no part of formValue matches path.