Checks if a value is a CheckedError, narrowing its type if true.
The value to check.
true if the value is a CheckedError, narrowing to CheckedError<unknown>.
true
CheckedError<unknown>
Checks if a value is a CheckedError, narrowing its type if true.