rules/it/is_port library

Classes

IsPort
checks if the input is a valid port

Functions

isPort(Object? input) bool
Returns true if input is an integer port in the range 0–65535.