Skip to content

basalt / ai/src / hasErrors

Function: hasErrors() ​

> hasErrors(diagnostics): boolean

Defined in: ai/src/doctor/run.ts:19

True when any diagnostic is an error — lets CI gate on ai:doctor.

Parameters ​

diagnostics ​

Diagnostic[]

Returns ​

boolean

Released under the MIT License.