Binds a validator to the given path that requires the value to match the standard email format. This function can only be called on string paths.
API
function email<TPathKind extends PathKind = PathKind.Root>( path: SchemaPath<string, 1, TPathKind>, config?: BaseValidatorConfig<string, TPathKind> | undefined,): void;Jump to details