Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/channel/custom/sync/semaphore-error.ts>isSemaphoreError

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function isSemaphoreError
import { isSemaphoreError } from "https://deno.land/x/rimbu@1.1.0/channel/custom/sync/semaphore-error.ts";

Returns true if the given object is an instance of a SemaphoreError.

Parameters

obj: any
  • the value to test