Skip to content

isAlpyneRuntimeError

isAlpyneRuntimeError(error): error is AlpyneRuntimeError

Returns whether a caught value is one of the Runtime’s exported error classes.

unknown

The caught value, typically from a catch clause.

error is AlpyneRuntimeError

true when error is an AlpyneRuntimeError, narrowing its type.