Skip to content
On this page

isValidForm()

This function takes a form and checks that all $error properties in the form are undefined. This function returns boolean.

Parameters

The isValidForm() takes 1 parameter:

typescript
declare function isValidForm<T extends Form>(
  form: T | (T & { $key: number })
): boolean;

1. forms Required