getClone

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

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

Throws

If path contains wildcards or matches no schemas.

If path matches more than one value.

If no part of formValue matches path.