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($unknown: unknown): boolean

Parameters:

ParameterTypeDescription
$unknownunknown

Returns: boolean — Whether the object implements the DisposableEx interface