Skip to content

@hobom-grid/core


@hobom-grid/core / ValidationResult

Type Alias: ValidationResult

ValidationResult = Readonly<{ valid: true; }> | Readonly<{ message: string; valid: false; }>

Defined in: editing/editing-state.ts:16

Sync or async validator return type. valid:true → no error valid:false → message is shown to the user