For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/classes/ObservableValidator.md.

Abstract Class: ObservableValidator<T> experimental

Beta

Used for validating an observable value before it gets set

Type Parameters

T

T

Constructors

Constructor

new ObservableValidator<T>(): ObservableValidator<T>

Beta

Returns

ObservableValidator<T>

Methods

validate()

abstract validate(newValue): T | undefined

Beta

Parameters

newValue

T

Returns

T | undefined