1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/md/RCON/Commands-execution/Is-connector.mdx

51 lines
1.1 KiB
Plaintext
Raw Normal View History

2025-03-16 21:02:16 +03:00
---
sidebar_position: 4
2025-05-05 09:49:19 +03:00
description: Checks that the value is an object of an RCON AddInСтраницы
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, RCON]
2025-03-16 21:02:16 +03:00
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Is connector
Checks that the value is an object of an RCON AddIn
`Function IsConnector(Val Value) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Value | - | Arbitrary | ✔ | Value to check |
Returns: Boolean - Is connector
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
2025-03-17 10:43:28 +03:00
URL = "127.0.0.1:25565";
Password = "Jg9F...";
WriteTimeout = 20;
ReadTimeout = 20;
ConnectionParams = OPI_RCON.FormConnectionParameters(URL, Password, ReadTimeout, WriteTimeout);
Connection = OPI_RCON.CreateConnection(ConnectionParams);
Result = OPI_RCON.IsConnector(Connection);
2025-03-16 21:02:16 +03:00
```
2025-03-18 10:00:47 +03:00
```json title="Result"
true
```