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