Package: effect
Module: Cause
Checks whether an arbitrary value is a TimeoutError.
Example (Checking the runtime type)
import { Cause } from "effect"
console.log(Cause.isTimeoutError(new Cause.TimeoutError())) // true
console.log(Cause.isTimeoutError("nope")) // false
Signature
declare const isTimeoutError: (u: unknown) => u is TimeoutError
Since v4.0.0