Function: isValidPort()
isValidPort(
value:unknown):value is PortNumber
Defined in: shared/utils/typeGuards.ts:278
Checks whether a value falls within the valid TCP/UDP port range.
Parametersโ
valueโ
unknown
Value to evaluate.
Returnsโ
value is PortNumber
true when the value is an integer between 1 and 65,535.