Type guard to determine if a given value is an ApiError.
The unknown value to test.
true if the value conforms to the ApiError shape; otherwise, false.
true
false
Type guard to determine if a given value is an ApiError.