Checks whether a value is an AftermathTransportError instance.
AftermathTransportError
The guard uses instanceof and returns false for other error-like values.
instanceof
false
The value to test.
true when error is an AftermathTransportError.
true
error
Checks whether a value is an
AftermathTransportErrorinstance.The guard uses
instanceofand returnsfalsefor other error-like values.