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