Skip to content

isAsyncDisposableEx

Type guard to check if an object implements the AsyncDisposableEx interface.

Import:

import { isAsyncDisposableEx } from 'obsidian-dev-utils/disposable';

Signature:

function isAsyncDisposableEx(obj: unknown): boolean

Parameters:

ParameterTypeDescription
objunknownthe object to check for the AsyncDisposableEx interface

Returns: boolean — Whether the object implements the AsyncDisposableEx interface