Is connector
Checks that the value is an object of an RCON AddIn
- Parameters
- Advanced call ?
Function IsConnector(Val Value) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Value | - | Arbitrary | ✔ | Value to check |
Returns
Boolean - Is connector
This method has no additional advanced call parameters.
Caution
NOCLI: this method is not available in CLI version
1C:Enterprise/OneScript code example
URL = "127.0.0.1:25565";
Password = "12We...";
WriteTimeout = 20;
ReadTimeout = 20;
ConnectionParams = OPI_RCON.FormConnectionParameters(URL, Password, ReadTimeout, WriteTimeout);
Connection = OPI_RCON.CreateConnection(ConnectionParams);
Result = OPI_RCON.IsConnector(Connection);
Result
true