Skip to content

isDisposableEx

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

Import:

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

Signature:

function isDisposableEx(obj: unknown): boolean

Parameters:

ParameterTypeDescription
objunknownthe object to check for the DisposableEx interface

Returns: boolean — Whether the object implements the DisposableEx interface