Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

isBuilderError

Generic types:T

Type guard function to check if a given state is a BuilderError state.

Presentation

function isBuilderError(state: BuilderState<T>): boolean;

Returns

boolean -

{boolean} - Returns true if the state is a BuilderError state, false otherwise.

Parameters

NameTypeDescription
state
BuilderState<T>