For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias Validator

Validator: (options: any) => readonly ValidationError[]

Validates a single part of a style, e.g. a source, a filter or a paint property. The options it takes are the ones assembled by validateAndEmit.

Type Declaration

Was this helpful?