Enter to send·Shift+Enter new line
Checks if the error is an instance of ModalSandboxError.
isInstance(error: unknown): error is ModalSandboxError
error
unknown
The error to check