Type guard for the None case.
if (isNone(fromNullable(form.email))) showError("Email required") Copy
if (isNone(fromNullable(form.email))) showError("Email required")
Type guard for the None case.