isAsyncDisposable()function

isAsyncDisposable(v: unknown): v is AsyncDisposable
ParamType
vunknown
The value to test. required
Return
v is AsyncDisposable
true if v has a [Symbol.asyncDispose] method, narrowing its type to AsyncDisposable.

Is an unknown value an async disposable object?