sp core library.validate.isnotdisposed - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-core-library > Validate > isNotDisposed
Throws an exception if the specified object has been disposed.
Signature:
static isNotDisposed(value: IDisposable, className: string): void;| Parameter | Type | Description |
|---|---|---|
| value | IDisposable | the value to check |
| className | string | the class name, which will be mentioned in the error message |
Returns:
void