Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/channel/mod.ts>SemaphoreError.isSemaphoreError

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

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

Parameters

obj: any
  • the value to test