ResourceLockedError.[Symbol.hasInstance] method
ResourceLockedError › [Symbol.hasInstance]
Matches a ResourceLockedError thrown by any copy of this library, by itsname and path. A subclass keeps the ordinary prototype check.Signature:
[Symbol.hasInstance](instance: unknown): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| instance | unknown | The value on the left of instanceof. |
Returns: boolean — true if the value is a resource-locked error.