Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 223 Bytes

blockly.fieldvalidator_typealias.md

File metadata and controls

9 lines (6 loc) · 223 Bytes

FieldValidator type

A function that is called to validate changes to the field's value before they are set.

Signature:

export type FieldValidator<T = any> = (newValue: T) => T | null | undefined;