Skip to main content
Module

x/rimbu/channel/mod.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.0.2/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