Is server object
Checks that the value is an object of the TCP server external component
- Parameters
- Advanced call ?
Function IsServerObject(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
Port = 9884;
Host = OPI_TCP.StartServer(Port);
Result = OPI_TCP.IsServerObject(Host);
Result
true