is_port_in_range(port)
¶
Return True if port is a valid port number, otherwise False.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
port
|
int
|
Port to check. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
|
Examples: