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

x/rimbu/channel/custom/index.ts>SemaphoreError.isSemaphoreError

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

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

Parameters

obj: any
  • the value to test